Skip to content

Commit 5667606

Browse files
committed
Fix transient tests
1 parent f97dbfc commit 5667606

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/Transport/AmqpExt/AmqpExtIntegrationTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ public function testItReceivesSignals()
161161
$signalTime = microtime(true);
162162
$timedOutTime = time() + 10;
163163

164+
// wait for worker started and registered the signal handler
165+
usleep(100 * 1000); // 100ms
166+
164167
// immediately after the process has started "booted", kill it
165168
$process->signal(15);
166169

0 commit comments

Comments
 (0)