Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
}
},
{
"description": "Mark server unknown on network timeout application error (beforeHandshakeCompletes)",
"description": "Ignore network timeout application error (beforeHandshakeCompletes)",
"applicationErrors": [
{
"address": "a:27017",
Expand Down Expand Up @@ -118,4 +118,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,46 +1,48 @@
description: Network timeouts before and after the handshake completes
uri: mongodb://a/?replicaSet=rs
phases:
- description: Primary A is discovered
responses:
- - a:27017
- ok: 1
helloOk: true
isWritablePrimary: true
hosts:
- a:27017
- description: Primary A is discovered
responses:
- - a:27017
- ok: 1
helloOk: true
isWritablePrimary: true
hosts:
- a:27017
setName: rs
minWireVersion: 0
maxWireVersion: 9
topologyVersion: &topologyVersion_1_1
processId:
"$oid": '000000000000000000000001'
counter:
"$numberLong": '1'
outcome: &outcome
servers:
a:27017:
type: RSPrimary
setName: rs
topologyVersion: *topologyVersion_1_1
pool:
generation: 0
topologyType: ReplicaSetWithPrimary
logicalSessionTimeoutMinutes: null
setName: rs
minWireVersion: 0
maxWireVersion: 9
topologyVersion: &topologyVersion_1_1
processId:
"$oid": '000000000000000000000001'
counter:
"$numberLong": '1'
outcome: &outcome
servers:
a:27017:
type: RSPrimary
setName: rs
topologyVersion: *topologyVersion_1_1
pool:
generation: 0
topologyType: ReplicaSetWithPrimary
logicalSessionTimeoutMinutes: null
setName: rs

- description: Ignore network timeout application error (afterHandshakeCompletes)
applicationErrors:
- address: a:27017
when: afterHandshakeCompletes
maxWireVersion: 9
type: timeout
outcome: *outcome
- description: Ignore network timeout application error (afterHandshakeCompletes)
applicationErrors:
- address: a:27017
when: afterHandshakeCompletes
maxWireVersion: 9
type: timeout
outcome: *outcome

- description: Mark server unknown on network timeout application error (beforeHandshakeCompletes)
applicationErrors:
- address: a:27017
when: beforeHandshakeCompletes
maxWireVersion: 9
type: timeout
outcome: *outcome
- description: Ignore network timeout application error (beforeHandshakeCompletes)
# The test runner may need to add the SystemOverloadedError label for the pre-handshake network timeout.
# The SystemOverloadedError label causes the error to be ignored.
applicationErrors:
- address: a:27017
when: beforeHandshakeCompletes
maxWireVersion: 9
type: timeout
outcome: *outcome