test(dursto): add a standalone long tests binary which runs in CI#1085
Merged
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (26.38%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #1085 +/- ##
==========================================
- Coverage 90.14% 89.95% -0.20%
==========================================
Files 134 135 +1
Lines 29155 29217 +62
Branches 29155 29217 +62
==========================================
Hits 26282 26282
- Misses 2058 2109 +51
- Partials 815 826 +11 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
9 tasks
bfef8d1 to
7495f0d
Compare
c37bc8f to
1bf4fc7
Compare
7495f0d to
4598ff1
Compare
22b8517 to
e04f630
Compare
5e1bf8f to
efb2a2f
Compare
e04f630 to
73f1da9
Compare
efb2a2f to
5df07d0
Compare
73f1da9 to
a47a293
Compare
5df07d0 to
b2a4b91
Compare
e652f91 to
e91b11e
Compare
ac69241 to
5f9ec95
Compare
e91b11e to
9152d8a
Compare
5f9ec95 to
614ef91
Compare
|
Benchmark results for revision 6ee73e4:
Full results
Compare the results above with those for the default branch. |
614ef91 to
7325f47
Compare
emturner
approved these changes
Jun 15, 2026
NSant215
approved these changes
Jun 15, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Relates to RV-984.
What
Adds a standalone binary for the
Databaselong test with 2 commands:testto start a test with the given parametersreplayto replay a failing epoch recorded by a previous test run at a given pathIt also adds a new
Durable Storage Long Testspull request job which runs the long test for 10 minutes. I chose this time limit so that, given parallel execution, the overall time to complete a PR CI run is not impacted.Next:
Why
Binary added so that the long test can be deployed independently.
Manually Testing
To run a short test through the binary:
To test the
replaycommand you need to generate a failure first, for example by changing behaviour for one database instance but not the others indurable-storage/src/long_test/run_case.rs:check_and_apply_value_operation(&mut targets.in_memory_db, &targets.model, op); check_and_apply_value_operation(&mut targets.persistent_db, &targets.model, op); - check_and_apply_value_operation(&mut targets.production_db, &targets.model, op); + if !prove { + check_and_apply_value_operation(&mut targets.production_db, &targets.model, op); + }Running the test again should now result in a failure and the command to replay it should be printed:
Tasks for the Author