summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/mod-fastcgi.t3
-rwxr-xr-xtests/mod-scgi.t3
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t
index f90ed852..c904d860 100755
--- a/tests/mod-fastcgi.t
+++ b/tests/mod-fastcgi.t
@@ -198,8 +198,7 @@ EOF
ok($tf->handle_http($t) == 0, 'killing fastcgi and wait for restart');
# (might take lighttpd 1 sec to detect backend exit)
- select(undef, undef, undef, .5);
- for (my $c = 2*20; $c && 0 == $tf->listening_on($ephemeral_port); --$c) {
+ for (my $c = 2*30; $c && 0 == $tf->listening_on($ephemeral_port); --$c) {
select(undef, undef, undef, 0.05);
}
$t->{REQUEST} = ( <<EOF
diff --git a/tests/mod-scgi.t b/tests/mod-scgi.t
index 2cf3e605..f263f556 100755
--- a/tests/mod-scgi.t
+++ b/tests/mod-scgi.t
@@ -80,8 +80,7 @@ EOF
ok($tf->handle_http($t) == 0, 'killing scgi and wait for restart');
# (might take lighttpd 1 sec to detect backend exit)
- select(undef, undef, undef, .5);
- for (my $c = 2*20; $c && 0 == $tf->listening_on($ephemeral_port); --$c) {
+ for (my $c = 2*30; $c && 0 == $tf->listening_on($ephemeral_port); --$c) {
select(undef, undef, undef, 0.05);
}
$t->{REQUEST} = ( <<EOF