Skip to content

Commit f491eb2

Browse files
authored
Increase api_with_authorizer retry delay (#275)
1 parent 8490c08 commit f491eb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integration/combination/test_api_with_authorizer_apikey.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_authorizer_apikey(self):
7171
# ApiKeySourceType is AUTHORIZER. Passing api key via x-api-key will not get authorized
7272
self.verify_authorized_request(base_url + "lambda-token-api-key", 401, "x-api-key", key["value"])
7373

74-
@retry(StatusCodeError, 10)
74+
@retry(StatusCodeError, 10, 0.25)
7575
def verify_authorized_request(
7676
self,
7777
url,

integration/combination/test_api_with_authorizers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def test_authorizers_with_invoke_function_set_none(self):
427427
auth_type_for_api_event_without_auth = api_event_with_out_auth["authorizationType"]
428428
self.assertEqual(auth_type_for_api_event_without_auth, "NONE")
429429

430-
@retry(StatusCodeError, 10)
430+
@retry(StatusCodeError, 10, 0.25)
431431
def verify_authorized_request(
432432
self,
433433
url,

0 commit comments

Comments
 (0)