From d5fb38f9ac0506acbfad9b8182b7544e163bf142 Mon Sep 17 00:00:00 2001 From: Jeff Yemin Date: Wed, 1 Feb 2023 13:19:59 -0500 Subject: [PATCH] Fix Spock test --- .../connection/GSSAPIAuthenticatorSpecification.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driver-core/src/test/functional/com/mongodb/internal/connection/GSSAPIAuthenticatorSpecification.groovy b/driver-core/src/test/functional/com/mongodb/internal/connection/GSSAPIAuthenticatorSpecification.groovy index 621b9a8debf..d4dc52d31d5 100644 --- a/driver-core/src/test/functional/com/mongodb/internal/connection/GSSAPIAuthenticatorSpecification.groovy +++ b/driver-core/src/test/functional/com/mongodb/internal/connection/GSSAPIAuthenticatorSpecification.groovy @@ -17,6 +17,7 @@ package com.mongodb.internal.connection import com.mongodb.ClusterFixture +import com.mongodb.LoggerSettings import com.mongodb.MongoCompressor import com.mongodb.SubjectProvider import com.mongodb.connection.ClusterId @@ -49,7 +50,7 @@ class GSSAPIAuthenticatorSpecification extends Specification { def credentialWithCache = new MongoCredentialWithCache(credential) def streamFactory = new SocketStreamFactory(SocketSettings.builder().build(), getSslSettings()) def internalConnection = new InternalStreamConnectionFactory(SINGLE, streamFactory, credentialWithCache, null, - null, Collections. emptyList(), null, getServerApi()) + null, Collections. emptyList(), LoggerSettings.builder().build(), null, getServerApi()) .create(new ServerId(new ClusterId(), getPrimary())) when: