Increase timeout for create_bucket as it fails periodically.

This commit is contained in:
Vladimir Domnich 2022-07-21 23:19:22 +04:00
parent 459581004d
commit 5b613c2487

View file

@ -23,7 +23,7 @@ class AwsCliClient:
def create_bucket(self, Bucket: str):
cmd = f'aws --no-verify-ssl s3api create-bucket --bucket {Bucket} --endpoint-url {S3_GATE}'
_cmd_run(cmd)
_cmd_run(cmd, timeout=90)
def list_buckets(self) -> dict:
cmd = f'aws --no-verify-ssl s3api list-buckets --endpoint {S3_GATE}'