fluss icon indicating copy to clipboard operation
fluss copied to clipboard

[Bug] Flaky testAddToSnapshotToStoreFail

Open gyang94 opened this issue 2 weeks ago • 1 comments

KvTabletSnapshotTargetTest.testAddToSnapshotToStoreFail intermittently fails in CI:

Expecting value to be true but was false

After #4954 moved directory creation into the async phase, the failed snapshot directory can be created and deleted between the test's existence checks. Reproduced locally by waiting for the abort notification before the original existence check.

Check directory existence inside the failing commit callback, then await abortion and cleanup while retaining the real async executor.

gyang94 avatar Nov 17 '26 08:11 gyang94

Closing as resolved by #5229, which removed the original test race.

gyang94 avatar Nov 18 '26 09:11 gyang94