test: release held uploads before failure cleanup joins

This commit is contained in:
pingqiu committed 2026-11-19 20:16:34 -08:00
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 {