We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 925dfb5 commit e562671Copy full SHA for e562671
tests/AsyncTaskTest.php
@@ -141,10 +141,12 @@ public function testAsyncTimeout()
141
$task = new AsyncTask($timeoutTask);
142
$task->withTimeLimit(1)->start();
143
// we wait for it to timeout
144
- $this->sleep(0.4);
145
146
147
+ $this->sleep(0.3);
148
149
150
// should have timed out
151
$this->assertFileExists($textFilePath, "The async task probably did not trigger its timeout handler because its timeout output file is not found.");
152
$this->assertStringEqualsFile($textFilePath, $message);
0 commit comments