summaryrefslogtreecommitdiffstats
path: root/plugins/tests/check_http.t
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.de>2021-05-20 18:04:49 +0200
committerSven Nierlein <sven@nierlein.de>2021-05-20 18:04:49 +0200
commiteb75d847ae31a86768b06926bc2323f7c16f07b9 (patch)
tree23b17dc1319e9b33f6f3f14aaae2b3c4faba6210 /plugins/tests/check_http.t
parent6344d29143bfd80d511e6c2d4bd39b9f58e03f14 (diff)
downloadmonitoring-plugins-eb75d847ae31a86768b06926bc2323f7c16f07b9.tar.gz
tests: increase startup sleep
github action might fail from to time otherwise
Diffstat (limited to 'plugins/tests/check_http.t')
-rwxr-xr-xplugins/tests/check_http.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t
index 2f051fad..0f56950f 100755
--- a/plugins/tests/check_http.t
+++ b/plugins/tests/check_http.t
@@ -102,8 +102,6 @@ if ($pid) {
102 exit; 102 exit;
103 } 103 }
104 } 104 }
105 # give our webservers some time to startup
106 sleep(1);
107} else { 105} else {
108 # Child 106 # Child
109 #print "child\n"; 107 #print "child\n";
@@ -116,6 +114,9 @@ if ($pid) {
116 exit; 114 exit;
117} 115}
118 116
117# give our webservers some time to startup
118sleep(3);
119
119# Run the same server on http and https 120# Run the same server on http and https
120sub run_server { 121sub run_server {
121 my $d = shift; 122 my $d = shift;