Skip to content

Commit fc67967

Browse files
committed
Increase script sleep in FPM process idle test
1 parent e81ad63 commit fc67967

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sapi/fpm/tests/proc-idle-timeout.phpt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ FPM: Process manager config pm.process_idle_timeout
44
<?php
55
include "skipif.inc";
66
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
7-
echo "skip Test fails in CI\n";
87
?>
98
--FILE--
109
<?php
@@ -24,7 +23,7 @@ EOT;
2423

2524
$code = <<<EOT
2625
<?php
27-
usleep(200);
26+
usleep(300000);
2827
EOT;
2928

3029
$tester = new FPM\Tester($cfg, $code);
@@ -35,7 +34,7 @@ $tester->status([
3534
'total processes' => 2,
3635
]);
3736
// wait for process idle timeout
38-
sleep(6);
37+
sleep(5);
3938
$tester->status([
4039
'total processes' => 1,
4140
]);

0 commit comments

Comments
 (0)