diff options
author | Sven Nierlein <sven@nierlein.de> | 2021-05-20 18:04:49 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2021-05-20 18:04:49 +0200 |
commit | eb75d847ae31a86768b06926bc2323f7c16f07b9 (patch) | |
tree | 23b17dc1319e9b33f6f3f14aaae2b3c4faba6210 /plugins/tests | |
parent | 6344d29143bfd80d511e6c2d4bd39b9f58e03f14 (diff) | |
download | monitoring-plugins-eb75d847ae31a86768b06926bc2323f7c16f07b9.tar.gz |
tests: increase startup sleep
github action might fail from to time otherwise
Diffstat (limited to 'plugins/tests')
-rwxr-xr-x | plugins/tests/check_curl.t | 5 | ||||
-rwxr-xr-x | plugins/tests/check_http.t | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/plugins/tests/check_curl.t b/plugins/tests/check_curl.t index 0caad23d..29cb03f2 100755 --- a/plugins/tests/check_curl.t +++ b/plugins/tests/check_curl.t @@ -126,8 +126,6 @@ if ($pid) { exit; } } - # give our webservers some time to startup - sleep(1); } else { # Child #print "child\n"; @@ -140,6 +138,9 @@ if ($pid) { exit; } +# give our webservers some time to startup +sleep(3); + # Run the same server on http and https sub run_server { my $d = shift; 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) { exit; } } - # give our webservers some time to startup - sleep(1); } else { # Child #print "child\n"; @@ -116,6 +114,9 @@ if ($pid) { exit; } +# give our webservers some time to startup +sleep(3); + # Run the same server on http and https sub run_server { my $d = shift; |