Skip to content

Commit 5a62b5c

Browse files
committed
Fixing DNS test
1 parent 328e95f commit 5a62b5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver-core/src/test/unit/com/mongodb/internal/connection/DefaultServerSpecification.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ class DefaultServerSpecification extends Specification {
271271
def server = defaultServer(connectionPool, serverMonitor)
272272

273273
when:
274-
server.getConnection(OPERATION_CONTEXT)
274+
server.getConnection(createOperationContext())
275275

276276
then:
277277
def e = thrown(MongoException)

0 commit comments

Comments
 (0)