Skip to content

Commit 3715923

Browse files
committed
Skip useMultipleMongoses tests pending PHPLIB-430
1 parent ab5246d commit 3715923

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/SpecTests/FunctionalTestCase.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,9 @@ protected function initOutcomeCollection(array $test)
362362
*/
363363
protected function initTestSubjects(array $test)
364364
{
365-
if (isset($test['useMultipleMongoses']) && $this->isShardedCluster()) {
366-
throw new LogicException('"useMultipleMongoses" is not supported');
365+
// TODO: Revise this once a test environment with multiple mongos nodes is available (see: PHPLIB-430)
366+
if (isset($test['useMultipleMongoses']) && $test['useMultipleMongoses'] && $this->isShardedCluster()) {
367+
$this->markTestSkipped('"useMultipleMongoses" is not supported');
367368
}
368369

369370
$clientOptions = isset($test['clientOptions']) ? $test['clientOptions'] : [];

0 commit comments

Comments
 (0)