Skip to content

Commit af10666

Browse files
committed
Update test_plugin.py
1 parent bed7b99 commit af10666

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/customizations/s3/test_plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,12 +1374,12 @@ def test_mb_rb(self, s3_utils):
13741374
def test_fail_mb_rb(self):
13751375
#S3 can intermittenly return an `OperationAborted` exception instead of
13761376
# `BucketAlreadyExists`, so we give this test three attempts
1377-
for _ in range(3):
1377+
for i in range(4):
13781378
# Choose a bucket name that already exists.
13791379
p = aws('s3 mb s3://mybucket')
13801380
if "BucketAlreadyExists" in p.stderr:
13811381
break
1382-
time.sleep(1)
1382+
time.sleep(2**i)
13831383
assert "BucketAlreadyExists" in p.stderr
13841384
assert p.rc == 1
13851385

0 commit comments

Comments
 (0)