Skip to content

Commit db44a41

Browse files
committed
Fixed new tests on 4.3.x branch
JAVA-4321
1 parent 951abf7 commit db44a41

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,7 @@ class InternalStreamConnectionSpecification extends Specification {
517517

518518
when:
519519
connection.sendAndReceive(commandMessage, {
520-
BsonReader reader, DecoderContext decoderContext -> throw new CodecConfigurationException('')
521-
}, NoOpSessionContext.INSTANCE, IgnorableRequestContext.INSTANCE)
520+
BsonReader reader, DecoderContext decoderContext -> throw new CodecConfigurationException('') }, NoOpSessionContext.INSTANCE)
522521

523522
then:
524523
thrown(CodecConfigurationException)
@@ -792,8 +791,8 @@ class InternalStreamConnectionSpecification extends Specification {
792791

793792
when:
794793
connection.sendAndReceiveAsync(commandMessage, {
795-
BsonReader reader, DecoderContext decoderContext -> throw new CodecConfigurationException('')
796-
}, NoOpSessionContext.INSTANCE, IgnorableRequestContext.INSTANCE, callback)
794+
BsonReader reader, DecoderContext decoderContext -> throw new CodecConfigurationException('') }, NoOpSessionContext.INSTANCE,
795+
callback)
797796
callback.get()
798797

799798
then:

0 commit comments

Comments
 (0)