-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(pageserver): add test interface to create artificial layers (#7899)
This pull request adds necessary interfaces to deterministically create scenarios we want to test. Simplify some test cases to use this interface to make it stable + reproducible. Compaction test will be able to use this interface. Also the upcoming delete tombstone tests will use this interface to make test reproducible. ## Summary of changes * `force_create_image_layer` * `force_create_delta_layer` * `force_advance_lsn` * `create_test_timeline_with_states` * `branch_timeline_test_with_states` --------- Signed-off-by: Alex Chi Z <chi@neon.tech>
- Loading branch information
Showing
3 changed files
with
223 additions
and
141 deletions.
There are no files selected for viewing
This file contains 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.
87afbf6
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.
3244 tests run: 3091 passed, 1 failed, 152 skipped (full report)
Failures on Postgres 14
test_download_churn[github-actions-selfhosted-100-tokio-epoll-uring-30]
: releaseFlaky tests (1)
Postgres 15
test_vm_bit_clear_on_heap_lock
: debugCode coverage* (full report)
functions
:31.4% (6503 of 20707 functions)
lines
:48.3% (50215 of 103881 lines)
* collected from Rust tests only
87afbf6 at 2024-05-31T17:22:16.115Z :recycle: