From 639e654002060fb05bf3ab15ca108f260dfcf336 Mon Sep 17 00:00:00 2001 From: Ramil Valitov Date: Tue, 7 Jul 2020 12:13:33 +0300 Subject: [PATCH] [add] more timeout for ondemand pools --- tests/all.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/all.sh b/tests/all.sh index ede0dca..6e03097 100644 --- a/tests/all.sh +++ b/tests/all.sh @@ -27,6 +27,10 @@ copyPool() { sudo sed -i "s#listen =.*#listen = $POOL_SOCKET#" "$NEW_POOL_FILE" #Pool name sudo sed -i "s#\[www\]#[$POOL_NAME]#" "$NEW_POOL_FILE" + + if [[ $POOL_TYPE == "ondemand" ]]; then + sudo sed -i 's#;pm.process_idle_timeout.*#pm.process_idle_timeout = 60s#' "$NEW_POOL_FILE" + fi } setupPool() { @@ -126,7 +130,9 @@ oneTimeSetUp() { tearDown() { restoreUserParameters + sleep 2 sudo service zabbix-agent restart + sleep 2 } testZabbixGetInstalled() {