Skip to content

Commit 4c330bd

Browse files
committed
Ensure use custom client for connectivity test
JAVA-3251
1 parent 094e424 commit 4c330bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-legacy/src/test/functional/com/mongodb/ConnectivityTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class ConnectivityTest {
2424
// the test succeeds if no exception is thrown, and fail otherwise
2525
@Test
2626
public void testConnectivity() {
27-
MongoClient client = Fixture.getMongoClient();
27+
MongoClient client = new MongoClient(Fixture.getMongoClientURI());
2828

2929
try {
3030
// test that a command that doesn't require auth completes normally

0 commit comments

Comments
 (0)