3
0
mirror of https://github.com/rvalitov/zabbix-php-fpm.git synced 2023-11-05 03:30:27 +01:00

[add] timeout test

This commit is contained in:
Ramil Valitov 2020-06-29 19:06:35 +03:00
parent 5d96c99765
commit 08d217b00c
No known key found for this signature in database
GPG Key ID: 2AB186DABDFE1914

View File

@ -212,5 +212,15 @@ testZabbixDiscoverNumberOfPortPools() {
assertEquals "Number of pools mismatch" "$PHP_COUNT" "$NUMBER_OF_POOLS"
}
#This test should be last
testZabbixDiscoverTimeout() {
#Create lots of pools
MAX_POOLS=100
MAX_PORTS=100
setupPools
testZabbixDiscoverReturnsData
}
# Load shUnit2.
. shunit2