-
Notifications
You must be signed in to change notification settings - Fork 266
Update to latest ext-mongodb and MongoDB server versions #669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a6b86d5
7e582c3
bfbf5a7
33fb14f
c8365ae
e8b7895
49d32aa
83260b5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,10 @@ | |
*/ | ||
class ChangeStreamsSpecTest extends FunctionalTestCase | ||
{ | ||
private static $incompleteTests = [ | ||
'change-streams-errors: Change Stream should error when _id is projected out' => 'PHPC-1419', | ||
]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this test previously passing? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The test fails on sharded clusters, but for different reasons. On a sharded cluster backed by standalone servers, On a sharded cluster backed by replica sets, we're seeing the behaviour described in #659 (comment). In a nutshell, the first With that in mind, I'd skip the test for now and properly fix it in #659 where we take care of other change stream tests as well. FWIW, debugging this issue made me realise that PHPC-1419 only appears on sharded clusters. I'll investigate that further separately to figure out the cause of the bug. |
||
|
||
/** | ||
* Assert that the expected and actual command documents match. | ||
* | ||
|
@@ -66,6 +70,10 @@ public static function assertResult(array $expectedDocuments, array $actualDocum | |
*/ | ||
public function testChangeStreams(stdClass $test, $databaseName = null, $collectionName = null, $database2Name = null, $collection2Name = null) | ||
{ | ||
if (isset(self::$incompleteTests[$this->dataDescription()])) { | ||
$this->markTestIncomplete(self::$incompleteTests[$this->dataDescription()]); | ||
} | ||
|
||
$this->checkServerRequirements($this->createRunOn($test)); | ||
|
||
if (!isset($databaseName, $collectionName, $database2Name, $collection2Name)) { | ||
|
Uh oh!
There was an error while loading. Please reload this page.