Skip to content

Commit e3ffa90

Browse files
committed
Transactions are supported on 4.2+ sharded clusters
This logic appears to date back to 8abb006 and was never updated when later server versions added support on mongos.
1 parent 9bdc229 commit e3ffa90

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/FunctionalTestCase.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -491,10 +491,6 @@ protected function skipIfTransactionsAreNotSupported(): void
491491
$this->markTestSkipped('Transactions are not supported on standalone servers');
492492
}
493493

494-
if ($this->isShardedCluster()) {
495-
$this->markTestSkipped('Transactions are only supported on FCV 4.2 or higher');
496-
}
497-
498494
if ($this->getServerStorageEngine() !== 'wiredTiger') {
499495
$this->markTestSkipped('Transactions require WiredTiger storage engine');
500496
}

0 commit comments

Comments
 (0)