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