Skip to content

Commit

Permalink
test(storage): increase timeout for requester pays test (#8421)
Browse files Browse the repository at this point in the history
Increasing timeout to give some leeway. If the test continues flaking, we should investigate further why it fails.
  • Loading branch information
BrennaEpp authored Aug 24, 2023
1 parent 3789882 commit 3d8c2c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3108,9 +3108,9 @@ func TestIntegration_RequesterPaysNonOwner(t *testing.T) {
// Retry to account for propagation delay to objects in metadata update
// (we updated the metadata to add the otherUserEmail as owner on the bucket)
o := bucket.Object(objectName)
ctxWithTimeout, cancel := context.WithTimeout(ctx, time.Second*10)
ctxWithTimeout, cancel := context.WithTimeout(ctx, time.Second*15)
defer cancel()
// Only retry when we expect success to avoid retrying for 10 seconds
// Only retry when we expect success to avoid retrying
// when we know it will fail
if test.expectSuccess {
o = o.Retryer(WithErrorFunc(retryOnTransient400and403))
Expand Down

0 comments on commit 3d8c2c8

Please sign in to comment.