Skip to content

Commit

Permalink
[integ-tests] Fix sporadic API test failures by adding sleep at the e…
Browse files Browse the repository at this point in the history
…nd of the server creation

Signed-off-by: Hanwen <[email protected]>
  • Loading branch information
hanwen-cluster committed Oct 29, 2024
1 parent d4eab9b commit a1a5027
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration-tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import logging
import os
import re
import time
from functools import partial
from itertools import product
from shutil import copyfile
Expand Down Expand Up @@ -468,6 +469,7 @@ def _api_server_factory(server_region):
)
cfn_stacks_factory.create_stack(stack)
api_servers[server_region] = stack
time.sleep(15)
else:
logging.info(f"Found cached API Server stack: {api_stack_name} in {server_region}")

Expand Down

0 comments on commit a1a5027

Please sign in to comment.