Skip to content

Commit f9c81d6

Browse files
cojencotritone
andauthored
test(storage): extend timeout for tests to finish (googleapis#11784)
Co-authored-by: Chris Cotter <cjcotter@google.com>
1 parent 1d6ffc0 commit f9c81d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2028,7 +2028,7 @@ func TestRetryTimeoutEmulated(t *testing.T) {
20282028
instructions := map[string][]string{"storage.buckets.get": {"return-503", "return-503", "return-503", "return-503", "return-503"}}
20292029
testID := createRetryTest(t, client, instructions)
20302030
ctx = callctx.SetHeaders(ctx, "x-retry-test-id", testID)
2031-
ctx, cancel := context.WithTimeout(ctx, 100*time.Millisecond)
2031+
ctx, cancel := context.WithTimeout(ctx, 200*time.Millisecond)
20322032
defer cancel()
20332033
_, err = client.GetBucket(ctx, bucket, nil, idempotent(true))
20342034

0 commit comments

Comments
 (0)