Commit e2078d5e authored by Derick Rethans's avatar Derick Rethans

Use existing compound feature detection method for change stream tests

parent 8abb006e
......@@ -26,13 +26,7 @@ class WatchFunctionalTest extends FunctionalTestCase
{
parent::setUp();
if ($this->getPrimaryServer()->getType() === Server::TYPE_STANDALONE) {
$this->markTestSkipped('$changeStream is not supported on standalone servers');
}
if (version_compare($this->getFeatureCompatibilityVersion(), '3.6', '<')) {
$this->markTestSkipped('$changeStream is only supported on FCV 3.6 or higher');
}
$this->skipIfChangeStreamIsNotSupported();
}
public function testNextResumesAfterCursorNotFound()
......
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