Skip to content

Flip the ordering of schema, store and query so tests run faster #1344

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

Merged
merged 1 commit into from
Apr 24, 2019

Conversation

bboreham
Copy link
Contributor

@bboreham bboreham commented Apr 23, 2019

By running the different test cases as the inner loop we can re-use the same store multiple times, saving a lot of CPU.

Test run on CircleCI took 13.745s compared to 50-60s before.

Review with "Hide whitespace changes" to make it easier to see what happened.

Fixes #1289

By running the different test cases as the inner loop we can re-use
the same store multiple times, saving a lot of CPU.

Signed-off-by: Bryan Boreham <[email protected]>
Copy link
Contributor

@gouthamve gouthamve left a comment

Choose a reason for hiding this comment

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

LGTM!

@bboreham bboreham merged commit 590e72c into master Apr 24, 2019
@bboreham bboreham deleted the store-tests-reuse-store branch April 24, 2019 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test flake in chunk package
2 participants