Commit bb79d743 authored by Jeremy Mikola's avatar Jeremy Mikola

PHPLIB-268: Skip maxAwaitTimeMS functional test for older servers

On servers before 3.2, the option is ignored, which results in a noticeable delay while running the test suite.
parent 3aa60e53
...@@ -127,6 +127,10 @@ class FindFunctionalTest extends FunctionalTestCase ...@@ -127,6 +127,10 @@ class FindFunctionalTest extends FunctionalTestCase
public function testMaxAwaitTimeMS() public function testMaxAwaitTimeMS()
{ {
if (version_compare($this->getServerVersion(), '3.2.0', '<')) {
$this->markTestSkipped('maxAwaitTimeMS option is not supported');
}
$maxAwaitTimeMS = 10; $maxAwaitTimeMS = 10;
// Create a capped collection. // Create a capped collection.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment