Skip to content

Commit a8cda4a

Browse files
committed
PHPLIB-715 Skip failing mapReduce test
1 parent 633c8f1 commit a8cda4a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/SpecTests/RetryableReadsSpecTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ class RetryableReadsSpecTest extends FunctionalTestCase
2525
'listIndexNames' => 'Not implemented',
2626
];
2727

28+
/** @var array */
29+
private static $incompleteTests = ['mapReduce: MapReduce succeeds with retry on' => 'PHPLIB-715'];
30+
2831
/**
2932
* Assert that the expected and actual command documents match.
3033
*
@@ -66,6 +69,10 @@ public function testRetryableReads(stdClass $test, ?array $runOn = null, $data,
6669
$this->skipIfChangeStreamIsNotSupported();
6770
}
6871

72+
if (isset(self::$incompleteTests[$this->dataDescription()])) {
73+
$this->markTestIncomplete(self::$incompleteTests[$this->dataDescription()]);
74+
}
75+
6976
$context = Context::fromRetryableReads($test, $databaseName, $collectionName, $bucketName);
7077
$this->setContext($context);
7178

0 commit comments

Comments
 (0)