From ef9155e6607714a53c3f253bd4c741039a735b50 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 21 Nov 2026 02:48:26 -0800 Subject: [PATCH] test: give the failing-cut fixture 2 s (300 ms was tight on a loaded runner) Co-Authored-By: Claude Opus 5.5 --- seaweed-block/core/storage/chunk_own_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seaweed-block/core/storage/chunk_own_test.go b/seaweed-block/core/storage/chunk_own_test.go index a1a902d597..75e8496a76 100644 --- a/seaweed-block/core/storage/chunk_own_test.go +++ b/seaweed-block/core/storage/chunk_own_test.go @@ -165,7 +165,7 @@ func TestOwnBatch_UploadsAChunkRememberedEqualByAFailedCut(t *testing.T) { remote.mu.Lock() remote.failPut = errors.New("test: put refused") remote.mu.Unlock() - failCtx, cancelFail := context.WithTimeout(context.Background(), 300*time.Millisecond) + failCtx, cancelFail := context.WithTimeout(context.Background(), 2*time.Second) defer cancelFail() if _, err := layer.Cut(failCtx); err == nil { t.Fatal("fixture: the ordinary cut must fail")