Skip to content

Commit f76507a

Browse files
soedirgodarora
authored andcommitted
chore: increase timeout
1 parent 161b230 commit f76507a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/testinfra.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
packer build -var "git-head-version=${GIT_SHA}" -var "packer-execution-id=${GITHUB_RUN_ID}" -var-file="development-arm.vars.pkr.hcl" -var-file="common.vars.pkr.hcl" -var "ansible_arguments=" -var "postgres-version=ci-ami-test" -var "region=ap-southeast-1" -var 'ami_regions=["ap-southeast-1"]' -var "force-deregister=true" amazon-arm64.pkr.hcl
124124
125125
- name: Run tests
126-
timeout-minutes: 5
126+
timeout-minutes: 10
127127
run: |
128128
# TODO: use poetry for pkg mgmt
129129
pip3 install boto3 boto3-stubs[essential] docker ec2instanceconnectcli pytest pytest-testinfra[paramiko,docker] requests

testinfra/test_ami.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def gzip_then_base64_encode(s: str) -> str:
247247

248248
host = testinfra.get_host(
249249
# paramiko is an ssh backend
250-
f"paramiko://ubuntu@{instance.public_ip_address}",
250+
f"paramiko://ubuntu@{instance.public_ip_address}?timeout=60",
251251
ssh_identity_file=temp_key.get_priv_key_file(),
252252
)
253253

0 commit comments

Comments
 (0)