fluss
fluss copied to clipboard
[Bug] Flaky testAddToSnapshotToStoreFail
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.
Closing as resolved by #5229, which removed the original test race.