From 08d217b00ca62946c14b9e6b0aca9a1a698bb23c Mon Sep 17 00:00:00 2001 From: Ramil Valitov Date: Mon, 29 Jun 2020 19:06:35 +0300 Subject: [PATCH] [add] timeout test --- tests/all.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/all.sh b/tests/all.sh index 8bc9a7c..7812bc6 100644 --- a/tests/all.sh +++ b/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