Skip to content

Commit

Permalink
Stabilize the test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorial1024 committed Jan 23, 2025
1 parent 0bc7e33 commit 815e7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/AsyncTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function testAsyncTaskNormalStatus()
$liveStatus = $task->start();

// try to sleep a bit, to stabilize the test case
sleep(1);
$this->sleep(0.1);

// the task is to sleep for some time, and then exit.
// note: since checking the task statuses take some time, we cannot confirm the actual elapsed time of our tests,
Expand Down

0 comments on commit 815e7b9

Please sign in to comment.