From 82acf2b516f389fc48afdaa2c786c72f0a873150 Mon Sep 17 00:00:00 2001 From: Brent Roose Date: Tue, 4 May 2021 09:43:09 +0200 Subject: [PATCH] Fix test --- tests/ForkTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/ForkTest.php b/tests/ForkTest.php index 05530a7..33d268e 100644 --- a/tests/ForkTest.php +++ b/tests/ForkTest.php @@ -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; }, );