Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
brendt committed May 4, 2021
1 parent 675f5ff commit 82acf2b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/ForkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ public function it_will_execute_the_given_closures_with_concurrency_cap()
->concurrent(2)
->run(
function () {
usleep(100);
sleep(1);

return Carbon::now()->millisecond;
return Carbon::now()->second;
},
function () {
usleep(100);
sleep(1);

return Carbon::now()->millisecond;
return Carbon::now()->second;
},
function () {
usleep(100);
sleep(1);

return Carbon::now()->millisecond;
return Carbon::now()->second;
},
);

Expand Down

0 comments on commit 82acf2b

Please sign in to comment.