Skip to content

Commit 5762f04

Browse files
committed
test(datetime): reduce flakiness of time sensitive test
1 parent 2324295 commit 5762f04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/datetime/tests/TimestampTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,8 @@ public function test_nano_precision_temporal_comparisons(): void
571571
public function test_future_past_comprehensive(): void
572572
{
573573
$now = Timestamp::monotonic();
574-
$future = $now->plusMilliseconds(15);
575-
$past = $now->minusMilliseconds(15);
574+
$future = $now->plusMilliseconds(30);
575+
$past = $now->minusMilliseconds(30);
576576

577577
$this->assertTrue($future->isFuture());
578578
$this->assertFalse($future->isPast());

0 commit comments

Comments
 (0)