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

Increase and improve integration tests #2795

Merged
merged 9 commits into from
Dec 5, 2022
Merged

Conversation

na--
Copy link
Member

@na-- na-- commented Dec 4, 2022

I've tried to make the commits in this PR very self-contained, so it might be easier to review them one by one. However, given that the only changes are in tests, it shouldn't matter too much either way.

The PR copies (with improvements) some of the more useful core.Engine tests, in preparation for #1889. It also makes some minor fixes and improvements to the integration test framework and adds rudimentary support (and a few tests that) for verifying metrics sent to the JSON output, for extra assurance. It doesn't have any functional changes, so it should be safe to merge as soon as it's reviewed.

@na-- na-- added this to the v0.42.0 milestone Dec 4, 2022
@na-- na-- force-pushed the yet-more-integration-tests branch 2 times, most recently from 3f62847 to 9740799 Compare December 4, 2022 22:41
@na-- na-- force-pushed the yet-more-integration-tests branch from 9740799 to adff941 Compare December 4, 2022 23:15
core/engine_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@olegbespalov olegbespalov left a comment

Choose a reason for hiding this comment

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

LGTM, but if we can clean up the test, then we no longer need it will be good since this PR is probably the best time for it.

Copy link
Contributor

@codebien codebien left a comment

Choose a reason for hiding this comment

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

LGTM

@na-- na-- merged commit 65a7598 into master Dec 5, 2022
@na-- na-- deleted the yet-more-integration-tests branch December 5, 2022 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants