Skip to content

Commit 13939f7

Browse files
committed
Remove redundant logic for preventStaleDbVersionError() in Operation
UnifiedTestRunner::preventStaleDbVersionError() already handles this. The Operation code was likely always redundant and dates back to the original test runner implementation in 4608a73.
1 parent 39be4e6 commit 13939f7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/UnifiedSpecTests/Operation.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -410,11 +410,6 @@ private function executeForCollection(Collection $collection)
410410
);
411411

412412
case 'distinct':
413-
if (isset($args['session']) && $args['session']->isInTransaction()) {
414-
// Transaction, but sharded cluster?
415-
$collection->distinct('foo');
416-
}
417-
418413
assertArrayHasKey('fieldName', $args);
419414
assertArrayHasKey('filter', $args);
420415
assertIsString($args['fieldName']);

0 commit comments

Comments
 (0)