Skip to content

Commit 7c1dd58

Browse files
committed
Improve maxAwaitTimeMS test for FindFunctionalTest
1 parent 43e742a commit 7c1dd58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Operation/FindFunctionalTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ public function testMaxAwaitTimeMS()
163163
$startTime = microtime(true);
164164
$it->next();
165165
$this->assertGreaterThanOrEqual($maxAwaitTimeMS * 0.001, microtime(true) - $startTime);
166+
$this->assertLessThan(0.5, microtime(true) - $startTime);
166167
}
167168

168169
/**

0 commit comments

Comments
 (0)