Skip to content

Commit 437af01

Browse files
committed
chore: increase wait time before health checks.
1 parent cc2f58f commit 437af01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testinfra/test_ami_nix.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@ def gzip_then_base64_encode(s: str) -> str:
293293
)[0]
294294
instance.wait_until_running()
295295

296+
# Increase wait time before starting health checks
297+
sleep(30) # Wait for 30 seconds to allow services to start
298+
296299
ec2logger = EC2InstanceConnectLogger(debug=False)
297300
temp_key = EC2InstanceConnectKey(ec2logger.get_logger())
298301
ec2ic = boto3.client("ec2-instance-connect", region_name="ap-southeast-1")

0 commit comments

Comments
 (0)