-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy patherror_handling_handshake.yml
More file actions
48 lines (46 loc) · 1.47 KB
/
error_handling_handshake.yml
File metadata and controls
48 lines (46 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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
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 (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