Unverified Commit ee0b4539 authored by Andreas Braun's avatar Andreas Braun

Merge pull request #659

parents a42e3479 944e7292
...@@ -50,7 +50,11 @@ ...@@ -50,7 +50,11 @@
"journal": true, "journal": true,
"logappend": true, "logappend": true,
"port": 4400, "port": 4400,
"bind_ip_all": true "bind_ip_all": true,
"setParameter": {
"periodicNoopIntervalSecs": 1,
"writePeriodicNoops": true
}
} }, } },
{ "procParams": { { "procParams": {
"dbpath": "/tmp/SHARDED-RS/SHARD1/4401", "dbpath": "/tmp/SHARDED-RS/SHARD1/4401",
...@@ -59,7 +63,11 @@ ...@@ -59,7 +63,11 @@
"journal": true, "journal": true,
"logappend": true, "logappend": true,
"port": 4401, "port": 4401,
"bind_ip_all": true "bind_ip_all": true,
"setParameter": {
"periodicNoopIntervalSecs": 1,
"writePeriodicNoops": true
}
} } } }
] ]
} }
...@@ -76,7 +84,11 @@ ...@@ -76,7 +84,11 @@
"journal": true, "journal": true,
"logappend": true, "logappend": true,
"port": 4410, "port": 4410,
"bind_ip_all": true "bind_ip_all": true,
"setParameter": {
"periodicNoopIntervalSecs": 1,
"writePeriodicNoops": true
}
} }, } },
{ "procParams": { { "procParams": {
"dbpath": "/tmp/SHARDED-RS/SHARD2/4411", "dbpath": "/tmp/SHARDED-RS/SHARD2/4411",
...@@ -85,7 +97,11 @@ ...@@ -85,7 +97,11 @@
"journal": true, "journal": true,
"logappend": true, "logappend": true,
"port": 4411, "port": 4411,
"bind_ip_all": true "bind_ip_all": true,
"setParameter": {
"periodicNoopIntervalSecs": 1,
"writePeriodicNoops": true
}
} } } }
] ]
} }
......
...@@ -935,6 +935,10 @@ class DocumentationExamplesTest extends FunctionalTestCase ...@@ -935,6 +935,10 @@ class DocumentationExamplesTest extends FunctionalTestCase
{ {
$this->skipIfChangeStreamIsNotSupported(); $this->skipIfChangeStreamIsNotSupported();
if ($this->isShardedCluster()) {
$this->markTestSkipped('Test does not apply on sharded clusters: need more than a single getMore call on the change stream.');
}
$db = new Database($this->manager, $this->getDatabaseName()); $db = new Database($this->manager, $this->getDatabaseName());
$db->dropCollection('inventory'); $db->dropCollection('inventory');
$db->createCollection('inventory'); $db->createCollection('inventory');
......
...@@ -336,9 +336,6 @@ abstract class FunctionalTestCase extends TestCase ...@@ -336,9 +336,6 @@ abstract class FunctionalTestCase extends TestCase
if (! $this->isShardedClusterUsingReplicasets()) { if (! $this->isShardedClusterUsingReplicasets()) {
$this->markTestSkipped('$changeStream is only supported with replicasets'); $this->markTestSkipped('$changeStream is only supported with replicasets');
} }
// Temporarily skip tests because of an issue with change streams in the driver
$this->markTestSkipped('$changeStreams currently don\'t on replica sets');
break; break;
case Server::TYPE_RS_PRIMARY: case Server::TYPE_RS_PRIMARY:
......
This diff is collapsed.
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