From 33ae735b2051076bbdc7a44db0df494ad3b4a78f Mon Sep 17 00:00:00 2001 From: Gus Rivera Date: Fri, 1 Nov 2024 10:31:38 -0500 Subject: [PATCH] [v14] Increasing timeout for pam smoke tests (#48232) * Increasing timeout for pam tests * Adding commentary --- build.assets/charts/smoke_tests/01_pam/test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.assets/charts/smoke_tests/01_pam/test.sh b/build.assets/charts/smoke_tests/01_pam/test.sh index 442f2cea38d8f..8ae6c34f8f529 100755 --- a/build.assets/charts/smoke_tests/01_pam/test.sh +++ b/build.assets/charts/smoke_tests/01_pam/test.sh @@ -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 \ No newline at end of file +# +# 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