summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xplugins/tests/check_curl.t5
-rwxr-xr-xplugins/tests/check_http.t5
2 files changed, 6 insertions, 4 deletions
diff --git a/plugins/tests/check_curl.t b/plugins/tests/check_curl.t
index 0caad23..29cb03f 100755
--- a/plugins/tests/check_curl.t
+++ b/plugins/tests/check_curl.t
@@ -126,8 +126,6 @@ if ($pid) {
126 exit; 126 exit;
127 } 127 }
128 } 128 }
129 # give our webservers some time to startup
130 sleep(1);
131} else { 129} else {
132 # Child 130 # Child
133 #print "child\n"; 131 #print "child\n";
@@ -140,6 +138,9 @@ if ($pid) {
140 exit; 138 exit;
141} 139}
142 140
141# give our webservers some time to startup
142sleep(3);
143
143# Run the same server on http and https 144# Run the same server on http and https
144sub run_server { 145sub run_server {
145 my $d = shift; 146 my $d = shift;
diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t
index 2f051fa..0f56950 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;