Skip to content

Commit ed76171

Browse files
committed
Attempt to understand
1 parent 22122a5 commit ed76171

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/Feature/BootingTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@
1919
// $process->wait(); // Uncomment this line to debug
2020

2121
try {
22-
retry(30, function () use ($output) {
22+
retry(10, function () use ($output) {
2323
// Wait until port 8100 is open
2424
dump('Waiting for port 8100 to open...');
2525

2626
$fp = @fsockopen('localhost', 8100, $errno, $errstr, 1);
2727
if ($fp === false) {
2828
throw new Exception(sprintf(
29-
'Port 8100 is not open yet. Output: "%s"',
29+
'Port 8100 is not open yet. Output: "%s", Errstr: "%s"',
3030
$output,
31+
$errstr
3132
));
3233
}
3334
}, 5000);

0 commit comments

Comments
 (0)