Skip to content

Commit a134651

Browse files
authored
RUBY-2848 update spec tests (#2385)
1 parent 6ac4655 commit a134651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/spec_tests/data/sdam/errors/prefer-error-code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ phases:
2929
logicalSessionTimeoutMinutes: null
3030
setName: rs
3131

32-
- description: errmsg "not writable primary" gets ignored when error code exists
32+
- description: errmsg "not master" gets ignored when error code exists
3333
applicationErrors:
3434
- address: a:27017
3535
when: afterHandshakeCompletes
3636
maxWireVersion: 9
3737
type: command
3838
response:
3939
ok: 0
40-
errmsg: "not writable primary"
40+
errmsg: "not master" # NOTE: This needs to be "not master" and not "not writable primary".
4141
code: 1 # Not a "not writable primary" error code.
4242
outcome: *outcome
4343

0 commit comments

Comments
 (0)