mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
Hold extent draining during the sparse stop test upgrade
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user