Skip to content

Commit cbdb5fe

Browse files
committed
PYTHON-3022 Resync prefer-error-code SDAM test
1 parent 7d83883 commit cbdb5fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/discovery_and_monitoring/errors/prefer-error-code.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
}
5353
},
5454
{
55-
"description": "errmsg \"not writable primary\" gets ignored when error code exists",
55+
"description": "errmsg \"not master\" gets ignored when error code exists",
5656
"applicationErrors": [
5757
{
5858
"address": "a:27017",
@@ -61,7 +61,7 @@
6161
"type": "command",
6262
"response": {
6363
"ok": 0,
64-
"errmsg": "not writable primary",
64+
"errmsg": "not master",
6565
"code": 1
6666
}
6767
}

0 commit comments

Comments
 (0)