File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/spec/server-discovery-and-monitoring/errors Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 52
52
}
53
53
},
54
54
{
55
- "description" : " errmsg \" not writable primary \" gets ignored when error code exists" ,
55
+ "description" : " errmsg \" not master \" gets ignored when error code exists" ,
56
56
"applicationErrors" : [
57
57
{
58
58
"address" : " a:27017" ,
61
61
"type" : " command" ,
62
62
"response" : {
63
63
"ok" : 0 ,
64
- "errmsg" : " not writable primary " ,
64
+ "errmsg" : " not master " ,
65
65
"code" : 1
66
66
}
67
67
}
Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ phases:
29
29
logicalSessionTimeoutMinutes : null
30
30
setName : rs
31
31
32
- - description : errmsg "not writable primary " gets ignored when error code exists
32
+ - description : errmsg "not master " gets ignored when error code exists
33
33
applicationErrors :
34
34
- address : a:27017
35
35
when : afterHandshakeCompletes
36
36
maxWireVersion : 9
37
37
type : command
38
38
response :
39
39
ok : 0
40
- errmsg : " not writable primary"
40
+ errmsg : " not master " # NOTE: This needs to be "not master" and not "not writable primary".
41
41
code : 1 # Not a "not writable primary" error code.
42
42
outcome : *outcome
43
43
You can’t perform that action at this time.
0 commit comments