Skip to content

Commit 8137c51

Browse files
committed
Skip failing assertion on sharded clusters
1 parent 08b6027 commit 8137c51

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/Operation/WatchFunctionalTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,10 @@ public function testMaxAwaitTimeMS()
928928
}
929929

930930
$this->assertTrue($changeStream->valid());
931-
$this->assertLessThan($pivot, $duration);
931+
932+
if (!$this->isShardedCluster()) {
933+
$this->assertLessThan($pivot, $duration);
934+
}
932935
}
933936

934937
public function testRewindExtractsResumeTokenAndNextResumes()

0 commit comments

Comments
 (0)