Skip to content

Commit 6af276e

Browse files
committed
chore: increase wait time before health checks.
1 parent f6a64a4 commit 6af276e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testinfra/test_ami_nix.py

+3
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,9 @@ def gzip_then_base64_encode(s: str) -> str:
246246
)[0]
247247
instance.wait_until_running()
248248

249+
# Increase wait time before starting health checks
250+
sleep(30) # Wait for 30 seconds to allow services to start
251+
249252
ec2logger = EC2InstanceConnectLogger(debug=False)
250253
temp_key = EC2InstanceConnectKey(ec2logger.get_logger())
251254
ec2ic = boto3.client("ec2-instance-connect", region_name="ap-southeast-1")

0 commit comments

Comments
 (0)