Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration test error checking #478

Merged
merged 2 commits into from
Jun 3, 2019
Merged

Conversation

phiggins
Copy link
Contributor

@phiggins phiggins commented Jun 1, 2019

Extracting code from #464 while I debug test failures on that branch.

@phiggins phiggins added the compliance reporting This issue or pull request applies to the compliance reporting part of Automate label Jun 1, 2019
@phiggins phiggins force-pushed the integration-test-error-checking branch from d430f2a to 0416bc4 Compare June 1, 2019 01:37
_, err := suite.InsertInspecReports([]*relaxting.ESInSpecReport{test.report})
require.NoError(t, err)
_, err = suite.InsertInspecSummaries([]*relaxting.ESInSpecSummary{test.summary})
require.NoError(t, err)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In #464 I'm seeing failures from this test when the changes in that branch are seemingly unrelated. Previously this would fail silently.

Copy link
Contributor

@srenatus srenatus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compliance reporting This issue or pull request applies to the compliance reporting part of Automate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants