Skip to content

Commit 3bd9710

Browse files
committed
Revert to assumeFalse.
1 parent bb54d82 commit 3bd9710

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

driver-core/src/test/unit/com/mongodb/connection/ServerSelectionSelectionTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
import static com.mongodb.connection.ServerDescription.MIN_DRIVER_WIRE_VERSION;
6969
import static org.junit.Assert.assertTrue;
7070
import static org.junit.Assert.fail;
71-
import static org.junit.Assume.assumeTrue;
71+
import static org.junit.Assume.assumeFalse;
7272
import static org.junit.jupiter.api.Assertions.assertNotNull;
7373
import static org.mockito.Mockito.when;
7474

@@ -102,7 +102,7 @@ public ServerSelectionSelectionTest(final String description, final BsonDocument
102102
@Test
103103
public void shouldPassAllOutcomes() {
104104
// skip this test because the driver prohibits maxStaleness or tagSets with mode of primary at a much lower level
105-
assumeTrue(!description.endsWith("/max-staleness/tests/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.json"));
105+
assumeFalse(description.endsWith("/max-staleness/tests/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.json"));
106106
ServerTuple serverTuple;
107107
ServerSelector serverSelector = getServerSelector();
108108
OperationContext operationContext = createOperationContext();

0 commit comments

Comments
 (0)