Skip to content

Commit aded75e

Browse files
committed
Revert "PHPLIB-416: Remove skip for consecutive resume test"
PR #625 was merged prematurely. The related test actually does not pass on 4.1.7+. This reverts commit d47fa07.
1 parent de8388d commit aded75e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/SpecTests/ChangeStreamsSpecTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
*/
1919
class ChangeStreamsSpecTest extends FunctionalTestCase
2020
{
21+
/* These should all pass before the driver can be considered compatible with
22+
* MongoDB 4.2. */
23+
private static $incompleteTests = [
24+
'change-streams: Test consecutive resume' => 'PHPLIB-442, PHPLIB-416',
25+
];
26+
2127
/**
2228
* Assert that the expected and actual command documents match.
2329
*
@@ -69,6 +75,10 @@ public function testChangeStreams($name, stdClass $test, $databaseName = null, $
6975
{
7076
$this->setName($name);
7177

78+
if (isset(self::$incompleteTests[$name])) {
79+
$this->markTestIncomplete(self::$incompleteTests[$name]);
80+
}
81+
7282
$this->checkServerRequirements($this->createRunOn($test));
7383

7484
if (!isset($databaseName, $collectionName, $database2Name, $collection2Name)) {

0 commit comments

Comments
 (0)