-
Notifications
You must be signed in to change notification settings - Fork 67
Optimize CockroachDB setup for tests (96% reduction) #493
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
Changes from 17 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
082c009
[nexus] Refactor test-utilities to helper crate, add test benchmarks
smklein 444aaa0
No need to be screamy about disk posting, that's for another PR
smklein 42727a7
Optimize CRDB setup by using 'compile-time' population of a seed data…
smklein d1c1345
Merge branch 'main' into benchmark-tests
smklein 54b6f68
Add to top-level workspace
smklein 6850f67
Merge branch 'benchmark-tests' into optimize-crdb-setup
smklein c736fe0
Add some explanations
smklein 05aed1b
re-run if build.rs changes
smklein 304d03d
The temporary directory might not exist
smklein 61d3fd3
Merge branch 'main' into benchmark-tests
smklein a992ee8
Merge branch 'benchmark-tests' into optimize-crdb-setup
smklein c5427aa
proby dropshot
smklein fea3cd9
Remove test-utils from default workspace
smklein 0153e19
Download database executables *before* we build/test all targets
smklein 0bcdc28
Merge branch 'main' into benchmark-tests
smklein 52b31c6
Merge branch 'benchmark-tests' into optimize-crdb-setup
smklein a0c88a4
Adjust path when building, we want that executable for our build script
smklein 43b75c9
Merge branch 'main' into benchmark-tests
smklein 3dd98d8
Merge branch 'benchmark-tests' into optimize-crdb-setup
smklein 419d89e
Merge branch 'main' into benchmark-tests
smklein 7b9dc1b
Merge branch 'benchmark-tests' into optimize-crdb-setup
smklein 9ad763c
Merge branch 'main' into optimize-crdb-setup
smklein 1b19c57
fixup
smklein 4f9feef
review feedback
smklein 8eb0549
OUT of the default members again gah
smklein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change here - and in the ".github/workflows/rust.yml" file - just make sure
cockroachis downloaded and on the PATH before wecargo build --all-targets, since we're now using it in a build script.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update the README to reflect this? Basically this part:
I think that should now say "the build and test suite expect..."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated