PHPLIB-537: Skip change stream tests on single node clusters

parent 6d1c62f7
......@@ -86,6 +86,10 @@ class ChangeStreamsSpecTest extends FunctionalTestCase
$this->markTestIncomplete(self::$incompleteTests[$this->dataDescription()]);
}
if ($this->isShardedCluster() && ! $this->isShardedClusterUsingReplicasets()) {
$this->markTestSkipped('$changeStream is only supported with replicasets');
}
$this->checkServerRequirements($this->createRunOn($test));
if (! isset($databaseName, $collectionName)) {
......
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