Skip to content

Commit bd96a3f

Browse files
committed
TimingTest: remove flaky assertions
Follow up on and similar to 1096, but now for a new test which was added in the 4.x branch. As per the previous commit: > This should probably get a better test to ensure that the method actually returns microseconds, but time is difficult to test, which makes these assertions flaky and that's even worse. > > For now, let's remove the flaky assertions.
1 parent 78508c3 commit bd96a3f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/Core/Util/Timing/TimingTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ public function testGetDurationSinceReturnsMilliseconds()
7070
$duration = Timing::getDurationSince($startTime);
7171

7272
$this->assertIsFloat($duration);
73-
$this->assertGreaterThan(1, $duration);
74-
$this->assertLessThan(15, $duration);
7573

7674
}//end testGetDurationSinceReturnsMilliseconds()
7775

0 commit comments

Comments
 (0)