Skip to content

Commit f75aaf6

Browse files
committed
Fix Groovy test
1 parent 775d40c commit f75aaf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-core/src/test/functional/com/mongodb/internal/connection/GSSAPIAuthenticatorSpecification.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class GSSAPIAuthenticatorSpecification extends Specification {
4747
def subjectProvider = Mock(SubjectProvider)
4848
def credential = ClusterFixture.getCredential().withMechanismProperty(JAVA_SUBJECT_PROVIDER_KEY, subjectProvider)
4949
def credentialWithCache = new MongoCredentialWithCache(credential)
50-
def streamFactory = new SocketStreamFactory(settings.getInetAddressResolver(), SocketSettings.builder().build(), getSslSettings())
50+
def streamFactory = new SocketStreamFactory(new DefaultInetAddressResolver(), SocketSettings.builder().build(), getSslSettings())
5151
def internalConnection = new InternalStreamConnectionFactory(SINGLE, streamFactory, credentialWithCache, null,
5252
null, Collections.<MongoCompressor> emptyList(), LoggerSettings.builder().build(), null, getServerApi())
5353
.create(new ServerId(new ClusterId(), getPrimary()))

0 commit comments

Comments
 (0)