Skip to content

Commit

Permalink
[v17] Increasing timeout for pam smoke tests (#48235)
Browse files Browse the repository at this point in the history
* Increasing timeout for pam tests

* Adding commentary
  • Loading branch information
doggydogworld authored Nov 1, 2024
1 parent e41ffa0 commit b8f1dc7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.assets/charts/smoke_tests/01_pam/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
#
# If teleport is still up when the timeout expires, then we're
# probably OK
timeout --preserve-status 10s docker run --platform $1 --rm --entrypoint /usr/local/bin/teleport -v "$(pwd):/etc/teleport" $2 start -c /etc/teleport/config.yaml
#
# A timeout of 20s is set to account for potentially slow startup times.
# QEMU eumlation may slow startup time for some platforms and during that
# time the process won't shutdown gracefully resulting in a nonzero code.
timeout --preserve-status 20s docker run --platform $1 --rm --entrypoint /usr/local/bin/teleport -v "$(pwd):/etc/teleport" $2 start -c /etc/teleport/config.yaml

0 comments on commit b8f1dc7

Please sign in to comment.