Skip to content

Commit

Permalink
extend ec2-test-framework instance timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel40791765 committed Jul 2, 2024
1 parent 5a47ea1 commit 806124e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/ci/cdk/cdk/ssm/general_test_run_ssm_document.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ mainSteps:
inputs:
timeoutSeconds: '7200'
runCommand:
# Fallback plan to shut down the ec2 instance in 60 minutes in case it's not terminated.
# TODO: Parallelize the FIPS and sanitizer tests. The instance timeout can be lowered
# once we do so.
#
# Fallback plan to shut down the ec2 instance in 90 minutes in case it's not terminated.
# Codebuild just "stops" the instance calling the script, so "trap cleanup" is not executed.
- shutdown -P +60
- shutdown -P +90
- sudo -i
- systemctl stop apt-daily.timer
- export DEBIAN_FRONTEND=noninteractive
Expand Down

0 comments on commit 806124e

Please sign in to comment.