Skip to content

Commit 6532989

Browse files
authored
Ignore connection-logging tests. (#1127)
Test is temporarily disabled until the implementation of the functionality to clear the connection pool before closing the connection is completed and aligned with the finalized specification. JAVA-4976
1 parent 14dd356 commit 6532989

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

driver-reactive-streams/src/test/functional/com/mongodb/reactivestreams/client/unified/ConnectionPoolLoggingTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
import java.net.URISyntaxException;
2626
import java.util.Collection;
2727

28+
import static org.junit.Assume.assumeFalse;
29+
2830
public class ConnectionPoolLoggingTest extends UnifiedReactiveStreamsTest {
2931

3032

@@ -34,6 +36,9 @@ public ConnectionPoolLoggingTest(@SuppressWarnings("unused") final String fileDe
3436
@Nullable final BsonArray runOnRequirements, final BsonArray entities, final BsonArray initialData,
3537
final BsonDocument definition) {
3638
super(schemaVersion, runOnRequirements, entities, initialData, definition);
39+
// The implementation of the functionality related to clearing the connection pool before closing the connection
40+
// will be carried out once the specification is finalized and ready.
41+
assumeFalse(testDescription.equals("Connection checkout fails due to error establishing connection"));
3742
}
3843

3944
@Parameterized.Parameters(name = "{0}: {1}")

driver-sync/src/test/functional/com/mongodb/client/unified/ConnectionPoolLoggingTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
import java.net.URISyntaxException;
2626
import java.util.Collection;
2727

28+
import static org.junit.Assume.assumeFalse;
29+
2830
public class ConnectionPoolLoggingTest extends UnifiedSyncTest {
2931

3032
public ConnectionPoolLoggingTest(@SuppressWarnings("unused") final String fileDescription,
@@ -33,6 +35,9 @@ public ConnectionPoolLoggingTest(@SuppressWarnings("unused") final String fileDe
3335
@Nullable final BsonArray runOnRequirements, final BsonArray entities, final BsonArray initialData,
3436
final BsonDocument definition) {
3537
super(schemaVersion, runOnRequirements, entities, initialData, definition);
38+
// The implementation of the functionality related to clearing the connection pool before closing the connection
39+
// will be carried out once the specification is finalized and ready.
40+
assumeFalse(testDescription.equals("Connection checkout fails due to error establishing connection"));
3641
}
3742

3843
@Parameterized.Parameters(name = "{0}: {1}")

0 commit comments

Comments
 (0)