mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
test: release held uploads before failure cleanup joins
This commit is contained in:
1 parent
ae8faa3fcb
commit
a3d2b3e3d8
1 file changed
+1
@@ -72,6 +72,7 @@ func TestCutCOWV3_RemoteUploadStartsAfterWindowCloses(t *testing.T) {
|
||||
s, l, f, gate := cowFixture(t)
|
||||
entered, release := holdPuts(t, f)
|
||||
done, errs := cowStartCut(t, l, gate)
|
||||
t.Cleanup(release) // unblock remote I/O before cowStartCut's failure join
|
||||
gate.unblock()
|
||||
waitKey(t, entered, "upload after local copy")
|
||||
if l.cowActive.Load() != nil {
|
||||
|
||||
Reference in new issue
Block a user