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:
parent
5d96c99765
commit
08d217b00c
10
tests/all.sh
10
tests/all.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user