Hold extent draining during the sparse stop test upgrade

This commit is contained in:
pingqiu committed 2026-11-30 21:37:36 -08:00
1 parent 3efd222215
commit 567d8beff6
1 file changed
+1
@@ -18,6 +18,7 @@ func TestCoverageOneTiBStoreStopsWithAnEmptyDirtyTail(t *testing.T) {
t.Fatal(err)
}
s.DisableAutoFlushForRecoveryTest()
s.HoldExtentDrainUntilChunkLayer()
t.Cleanup(func() { _ = s.Close() })
if _, err := s.Recover(); err != nil {
t.Fatal(err)