Skip to content

Commit e868f3f

Browse files
committed
Fix more Groovy tests
1 parent 45cda1c commit e868f3f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class AsyncStreamTimeoutsSpecification extends OperationFunctionalSpecification
5353
given:
5454
def connection = new InternalStreamConnectionFactory(ClusterConnectionMode.SINGLE,
5555
new AsynchronousSocketChannelStreamFactory(openSocketSettings, getSslSettings()), getCredentialWithCache(), null, null,
56-
[], LoggerSettings.builder().build(), null, getServerApi())
56+
[], LoggerSettings.builder().build(), null, getServerApi(), null)
5757
.create(new ServerId(new ClusterId(), new ServerAddress(new InetSocketAddress('192.168.255.255', 27017))))
5858

5959
when:
@@ -68,7 +68,7 @@ class AsyncStreamTimeoutsSpecification extends OperationFunctionalSpecification
6868
given:
6969
def connection = new InternalStreamConnectionFactory(ClusterConnectionMode.SINGLE,
7070
new AsynchronousSocketChannelStreamFactory(readSocketSettings, getSslSettings()), getCredentialWithCache(), null, null,
71-
[], LoggerSettings.builder().build(), null, getServerApi()).create(new ServerId(new ClusterId(), getPrimary()))
71+
[], LoggerSettings.builder().build(), null, getServerApi(), null).create(new ServerId(new ClusterId(), getPrimary()))
7272
connection.open()
7373

7474
getCollectionHelper().insertDocuments(new BsonDocument('_id', new BsonInt32(1)))
@@ -89,7 +89,7 @@ class AsyncStreamTimeoutsSpecification extends OperationFunctionalSpecification
8989
given:
9090
def connection = new InternalStreamConnectionFactory(ClusterConnectionMode.SINGLE,
9191
new NettyStreamFactory(openSocketSettings, getSslSettings()), getCredentialWithCache(), null, null,
92-
[], LoggerSettings.builder().build(), null, getServerApi()).create(new ServerId(new ClusterId(),
92+
[], LoggerSettings.builder().build(), null, getServerApi(), null).create(new ServerId(new ClusterId(),
9393
new ServerAddress(new InetSocketAddress('192.168.255.255', 27017))))
9494

9595
when:
@@ -104,7 +104,7 @@ class AsyncStreamTimeoutsSpecification extends OperationFunctionalSpecification
104104
given:
105105
def connection = new InternalStreamConnectionFactory(ClusterConnectionMode.SINGLE,
106106
new NettyStreamFactory(readSocketSettings, getSslSettings()), getCredentialWithCache(), null, null,
107-
[], LoggerSettings.builder().build(), null, getServerApi()).create(new ServerId(new ClusterId(), getPrimary()))
107+
[], LoggerSettings.builder().build(), null, getServerApi(), null).create(new ServerId(new ClusterId(), getPrimary()))
108108
connection.open()
109109

110110
getCollectionHelper().insertDocuments(new BsonDocument('_id', new BsonInt32(1)))

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
@@ -50,7 +50,7 @@ class GSSAPIAuthenticatorSpecification extends Specification {
5050
def credentialWithCache = new MongoCredentialWithCache(credential)
5151
def streamFactory = new SocketStreamFactory(SocketSettings.builder().build(), getSslSettings())
5252
def internalConnection = new InternalStreamConnectionFactory(SINGLE, streamFactory, credentialWithCache, null,
53-
null, Collections.<MongoCompressor> emptyList(), LoggerSettings.builder().build(), null, getServerApi())
53+
null, Collections.<MongoCompressor> emptyList(), LoggerSettings.builder().build(), null, getServerApi(), null)
5454
.create(new ServerId(new ClusterId(), getPrimary()))
5555

5656
when:

0 commit comments

Comments
 (0)