test(dursto): add the machinery for a long-running Database test#1084
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1084 +/- ##
==========================================
- Coverage 90.17% 90.14% -0.04%
==========================================
Files 130 134 +4
Lines 28394 29064 +670
Branches 28394 29064 +670
==========================================
+ Hits 25605 26199 +594
- Misses 2025 2056 +31
- Partials 764 809 +45 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
1bf4fc7 to
22b8517
Compare
|
Benchmark results for revision ce1652b:
Full results
Compare the results above with those for the default branch. |
e04f630 to
73f1da9
Compare
9 tasks
NSant215
reviewed
Jun 10, 2026
73f1da9 to
a47a293
Compare
NSant215
reviewed
Jun 11, 2026
a47a293 to
91b8c0b
Compare
NSant215
approved these changes
Jun 11, 2026
emturner
reviewed
Jun 11, 2026
e652f91 to
e91b11e
Compare
emturner
approved these changes
Jun 12, 2026
e91b11e to
9152d8a
Compare
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 the components required for running long end to end tests over
Database. Similar to the existing integration tests, the long test runs randomly sampled operations over multiple instances ofDatabaseand a reference model and checks for correctness and consistency. The main differences are:Databaseinstances: In addition to the 2 traced databases, it also tracks a "production"Database<PersistenceLayer, Normal>.For now, a short version of this test is run as part of
make test.Why
To gain a higher degree of confidence in the correctness and consistency of the durable storage.
How
Most of the functionality is added in
durable-storage/src/long_test. In addtion, the in-memory repo is now serialisable withrkyvso that an in-memory database can be committed to disk and restored for failure replay.Manually Testing
To see a printed log of the test:
Tasks for the Author