Increased timeout for IAM policy attach/detach
Some checks failed
DCO action / DCO (pull_request) Failing after 27s

This commit is contained in:
Yaroslava Lukoyanova 2025-03-05 15:29:35 +03:00
parent b00d080982
commit 6ada2cd2e8
2 changed files with 12 additions and 12 deletions

View file

@ -979,7 +979,7 @@ class AwsCliClient(S3ClientWrapper):
cmd += f" --profile {self.profile}"
output = self.local_shell.exec(cmd).stdout
response = self._to_json(output)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response
@ -990,7 +990,7 @@ class AwsCliClient(S3ClientWrapper):
cmd += f" --profile {self.profile}"
output = self.local_shell.exec(cmd).stdout
response = self._to_json(output)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response
@ -1122,7 +1122,7 @@ class AwsCliClient(S3ClientWrapper):
cmd += f" --profile {self.profile}"
output = self.local_shell.exec(cmd).stdout
response = self._to_json(output)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response
@ -1133,7 +1133,7 @@ class AwsCliClient(S3ClientWrapper):
cmd += f" --profile {self.profile}"
output = self.local_shell.exec(cmd).stdout
response = self._to_json(output)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response
@ -1352,7 +1352,7 @@ class AwsCliClient(S3ClientWrapper):
cmd += f" --profile {self.profile}"
output = self.local_shell.exec(cmd).stdout
response = self._to_json(output)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response
@ -1367,7 +1367,7 @@ class AwsCliClient(S3ClientWrapper):
output = self.local_shell.exec(cmd).stdout
response = self._to_json(output)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response

View file

@ -836,7 +836,7 @@ class Boto3ClientWrapper(S3ClientWrapper):
endpoint=self.iam_endpoint,
profile=self.profile,
)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response
@reporter.step("Attaches the specified managed policy to the specified user")
@ -848,7 +848,7 @@ class Boto3ClientWrapper(S3ClientWrapper):
endpoint=self.iam_endpoint,
profile=self.profile,
)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response
@reporter.step("Creates a new AWS secret access key and access key ID for the specified user")
@ -979,7 +979,7 @@ class Boto3ClientWrapper(S3ClientWrapper):
endpoint=self.iam_endpoint,
profile=self.profile,
)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response
@reporter.step("Removes the specified managed policy from the specified user")
@ -991,7 +991,7 @@ class Boto3ClientWrapper(S3ClientWrapper):
endpoint=self.iam_endpoint,
profile=self.profile,
)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response
@reporter.step("Returns a list of IAM users that are in the specified IAM group")
@ -1201,7 +1201,7 @@ class Boto3ClientWrapper(S3ClientWrapper):
endpoint=self.iam_endpoint,
profile=self.profile,
)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response
@reporter.step("Adds or updates an inline policy document that is embedded in the specified IAM user")
@ -1216,7 +1216,7 @@ class Boto3ClientWrapper(S3ClientWrapper):
endpoint=self.iam_endpoint,
profile=self.profile,
)
sleep(S3_SYNC_WAIT_TIME * 10)
sleep(S3_SYNC_WAIT_TIME * 14)
return response
@reporter.step("Removes the specified user from the specified group")