shard: Fix TestGCDropsObjectInhumedFromWritecache flaky test #1346

Merged
fyrchik merged 1 commit from a-savchuk/frostfs-node:bugfix/1320-shard-rebuild-flaky-test into master 2024-09-02 07:45:16 +00:00
Member

Close #1320

The TestGCDropsObjectInhumedFromWritecache test was flaky because a running asynchronous rebuild operation prevented GC from deleting the object. A test-only shard option WithDisabledRebuild has been added to fix this.

Signed-off-by: Aleksey Savchuk a.savchuk@yadro.com

Close #1320 The `TestGCDropsObjectInhumedFromWritecache` test was flaky because a running asynchronous rebuild operation prevented GC from deleting the object. A test-only shard option `WithDisabledRebuild` has been added to fix this. Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
a-savchuk added 1 commit 2024-09-01 21:51:28 +00:00
[#1320] test: Fix flaky test
All checks were successful
Tests and linters / Run gofumpt (pull_request) Successful in 1m55s
DCO action / DCO (pull_request) Successful in 2m51s
Tests and linters / Tests (1.22) (pull_request) Successful in 3m24s
Tests and linters / Tests (1.23) (pull_request) Successful in 3m19s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m35s
Vulncheck / Vulncheck (pull_request) Successful in 3m37s
Tests and linters / Lint (pull_request) Successful in 4m27s
Tests and linters / Staticcheck (pull_request) Successful in 4m50s
Tests and linters / Tests with -race (pull_request) Successful in 5m22s
Build / Build Components (1.22) (pull_request) Successful in 5m11s
Tests and linters / gopls check (pull_request) Successful in 5m22s
Build / Build Components (1.23) (pull_request) Successful in 5m12s
a6083d0052
The `TestGCDropsObjectInhumedFromWritecache` test was flaky because an
asynchronous rebuild operation prevented GC from deleting the object. A
test-only shard option `WithDisabledRebuild` has been added to fix this.

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
a-savchuk force-pushed bugfix/1320-shard-rebuild-flaky-test from a6083d0052 to c07b87f604 2024-09-01 21:53:34 +00:00 Compare
acid-ant approved these changes 2024-09-02 06:32:14 +00:00
Owner

The commit message is painfully non-descriptive, please, at least mention the test name in the commit message.

The commit message is painfully non-descriptive, please, at least mention the test name in the commit message.
a-savchuk force-pushed bugfix/1320-shard-rebuild-flaky-test from c07b87f604 to 4b0d43a6f0 2024-09-02 07:21:20 +00:00 Compare
a-savchuk force-pushed bugfix/1320-shard-rebuild-flaky-test from 4b0d43a6f0 to 2b3fc50681 2024-09-02 07:27:47 +00:00 Compare
a-savchuk changed title from test: Fix flaky test to shard: Fix `TestGCDropsObjectInhumedFromWritecache` flaky test 2024-09-02 07:28:03 +00:00
fyrchik approved these changes 2024-09-02 07:31:09 +00:00
fyrchik merged commit 2b3fc50681 into master 2024-09-02 07:45:16 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1346
No description provided.