From 388eef5b61d5be5296a6dfebb5b3af54339f8091 Mon Sep 17 00:00:00 2001 From: Ramil Valitov Date: Mon, 29 Jun 2020 14:58:32 +0300 Subject: [PATCH] [fix] port pools test --- tests/all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/all.sh b/tests/all.sh index e4842d8..91e8853 100644 --- a/tests/all.sh +++ b/tests/all.sh @@ -202,7 +202,7 @@ testZabbixDiscoverNumberOfIPPools() { testZabbixDiscoverNumberOfPortPools() { DATA=$(zabbix_get -s 127.0.0.1 -p 10050 -k php-fpm.discover["/php-fpm-status"]) - NUMBER_OF_POOLS=$(echo "$DATA" | grep -o -F '{"{#POOLNAME}":"http1",' | wc -l) + NUMBER_OF_POOLS=$(echo "$DATA" | grep -o -F '{"{#POOLNAME}":"port1",' | wc -l) PHP_COUNT=$(getNumberOfPHPVersions) assertEquals "Number of pools mismatch" "$PHP_COUNT" "$NUMBER_OF_POOLS" }