From 94d2898cb58fb1e4a484c7f22d0baa45636bf428 Mon Sep 17 00:00:00 2001 From: Ramil Valitov Date: Tue, 7 Jul 2020 01:18:14 +0300 Subject: [PATCH] [fix] recache of ondemand pools --- tests/all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/all.sh b/tests/all.sh index 7c897fa..f3f781b 100644 --- a/tests/all.sh +++ b/tests/all.sh @@ -234,7 +234,7 @@ testZabbixDiscoverNumberOfOndemandPoolsCold() { testZabbixDiscoverNumberOfOndemandPoolsHot() { # We must start all the pools - POOL_URL="/" + POOL_URL="/php-fpm-status" PHP_COUNT=$(getNumberOfPHPVersions) PHP_LIST=$(find /etc/php/ -name 'www.conf' -type f) @@ -251,7 +251,7 @@ testZabbixDiscoverNumberOfOndemandPoolsHot() { SCRIPT_FILENAME=$POOL_SOCKET \ QUERY_STRING=json \ REQUEST_METHOD=GET \ - cgi-fcgi -bind -connect "$POOL_URL" 2>/dev/null + sudo cgi-fcgi -bind -connect "$POOL_URL" 2>/dev/null done fi done <<<"$PHP_LIST"