[omd-commits] OMD Git: omd: tests: added longer timeout for first request

git version control git at mathias-kettner.de
Wed Dec 22 20:03:04 CET 2010


Module: omd
Branch: master
Commit: b9207bfc11b3f0aaf06d1b700e68f0e8db49a347
URL:    http://omdistro.org/projects/omd/repository/revisions/b9207bfc11b3f0aaf06d1b700e68f0e8db49a347

Author: Sven Nierlein <sven at nierlein.de>
Date:   Wed Dec 22 17:46:57 2010 +0100

tests: added longer timeout for first request

---

 t/20-package_thruk.t |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/t/20-package_thruk.t b/t/20-package_thruk.t
index 34bd6d3..80c1ddb 100644
--- a/t/20-package_thruk.t
+++ b/t/20-package_thruk.t
@@ -28,11 +28,11 @@ TestUtils::test_command({ cmd => $omd_bin." config $site set WEB thruk" });
 ##################################################
 # define some checks
 my $tests = [
-  { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_http -H localhost -u /$site/thruk -e 401 -t 20'",              like => '/HTTP OK:/' },
-  { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_http -H localhost -a omdadmin:omd -u /$site/thruk -e 301'",    like => '/HTTP OK:/' },
-  { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_http -H localhost -a omdadmin:omd -u /$site/thruk/ -e 200'",   like => '/HTTP OK:/' },
-  { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_http -H localhost -a omdadmin:omd -u \"/$site/thruk/cgi-bin/status.cgi?hostgroup=all&style=hostdetail\" -e 200 -r \"Host Status Details For All Host Groups\"'", like => '/HTTP OK:/' },
-  { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_http -H localhost -a omdadmin:omd -u \"/$site/thruk/cgi-bin/tac.cgi\" -e 200 -r \"Logged in as <i>omdadmin<\/i>\"'", like => '/HTTP OK:/' },
+  { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_http -t 20 -H localhost -u /$site/thruk -e 401'",                    like => '/HTTP OK:/' },
+  { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_http -t 20 -H localhost -a omdadmin:omd -u /$site/thruk -e 301'",    like => '/HTTP OK:/' },
+  { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_http -t 20 -H localhost -a omdadmin:omd -u /$site/thruk/ -e 200'",   like => '/HTTP OK:/' },
+  { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_http -t 20 -H localhost -a omdadmin:omd -u \"/$site/thruk/cgi-bin/status.cgi?hostgroup=all&style=hostdetail\" -e 200 -r \"Host Status Details For All Host Groups\"'", like => '/HTTP OK:/' },
+  { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_http -t 20 -H localhost -a omdadmin:omd -u \"/$site/thruk/cgi-bin/tac.cgi\" -e 200 -r \"Logged in as <i>omdadmin<\/i>\"'", like => '/HTTP OK:/' },
 ];
 my $urls = [
 # static html pages



More information about the omd-commits mailing list