-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Remove support for MongoDB 3.6 #1375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
37f5404
f057785
0dcae21
adea0be
3bcd86a
15aab7d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ import spock.lang.Specification | |
|
||
import static com.mongodb.connection.ClusterConnectionMode.MULTIPLE | ||
import static com.mongodb.connection.ClusterConnectionMode.SINGLE | ||
import static com.mongodb.internal.operation.ServerVersionHelper.LATEST_WIRE_VERSION | ||
import static com.mongodb.internal.operation.ServerVersionHelper.THREE_DOT_SIX_WIRE_VERSION | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was just used in a few tests, so I replaced all usages with LATEST_WIRE_VERSION and removed it. |
||
|
||
class LoggingCommandEventSenderSpecification extends Specification { | ||
|
@@ -49,7 +50,7 @@ class LoggingCommandEventSenderSpecification extends Specification { | |
given: | ||
def connectionDescription = new ConnectionDescription(new ServerId(new ClusterId(), new ServerAddress())) | ||
def namespace = new MongoNamespace('test.driver') | ||
def messageSettings = MessageSettings.builder().maxWireVersion(THREE_DOT_SIX_WIRE_VERSION).build() | ||
def messageSettings = MessageSettings.builder().maxWireVersion(LATEST_WIRE_VERSION).build() | ||
def commandListener = new TestCommandListener() | ||
def commandDocument = new BsonDocument('ping', new BsonInt32(1)) | ||
def replyDocument = new BsonDocument('ok', new BsonInt32(1)) | ||
|
@@ -95,7 +96,7 @@ class LoggingCommandEventSenderSpecification extends Specification { | |
def connectionDescription = new ConnectionDescription(serverId) | ||
.withConnectionId(new ConnectionId(serverId, 42, 1000)) | ||
def namespace = new MongoNamespace('test.driver') | ||
def messageSettings = MessageSettings.builder().maxWireVersion(THREE_DOT_SIX_WIRE_VERSION).build() | ||
def messageSettings = MessageSettings.builder().maxWireVersion(LATEST_WIRE_VERSION).build() | ||
def commandDocument = new BsonDocument('ping', new BsonInt32(1)) | ||
def replyDocument = new BsonDocument('ok', new BsonInt32(42)) | ||
def failureException = new MongoInternalException('failure!') | ||
|
Uh oh!
There was an error while loading. Please reload this page.