Skip to content

Commit 5b44184

Browse files
committed
PYTHON-4960 Resync tests
1 parent ee41255 commit 5b44184

7 files changed

+9
-7
lines changed

test/discovery_and_monitoring/rs/new_primary_new_electionid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"type": "Unknown",
7878
"setName": null,
7979
"electionId": null,
80-
"error": "primary marked stale due to electionId/setVersion mismatch"
80+
"error": "primary marked stale due to discovery of newer primary"
8181
},
8282
"b:27017": {
8383
"type": "RSPrimary",

test/discovery_and_monitoring/rs/new_primary_new_setversion.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"type": "Unknown",
7878
"setName": null,
7979
"electionId": null,
80-
"error": "primary marked stale due to electionId/setVersion mismatch"
80+
"error": "primary marked stale due to discovery of newer primary"
8181
},
8282
"b:27017": {
8383
"type": "RSPrimary",

test/discovery_and_monitoring/rs/primary_disconnect_electionid.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"type": "Unknown",
5050
"setName": null,
5151
"electionId": null,
52-
"error": "primary marked stale due to electionId/setVersion mismatch"
52+
"error": "primary marked stale due to discovery of newer primary"
5353
},
5454
"b:27017": {
5555
"type": "RSPrimary",
@@ -125,6 +125,7 @@
125125
"a:27017": {
126126
"type": "Unknown",
127127
"setName": null,
128+
"error": "primary marked stale due to electionId/setVersion mismatch",
128129
"electionId": null
129130
},
130131
"b:27017": {

test/discovery_and_monitoring/rs/primary_disconnect_setversion.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"type": "Unknown",
5050
"setName": null,
5151
"electionId": null,
52-
"error": "primary marked stale due to electionId/setVersion mismatch"
52+
"error": "primary marked stale due to discovery of newer primary"
5353
},
5454
"b:27017": {
5555
"type": "RSPrimary",
@@ -125,6 +125,7 @@
125125
"a:27017": {
126126
"type": "Unknown",
127127
"setName": null,
128+
"error": "primary marked stale due to electionId/setVersion mismatch",
128129
"electionId": null
129130
},
130131
"b:27017": {

test/discovery_and_monitoring/rs/setversion_greaterthan_max_without_electionid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"type": "Unknown",
6767
"setName": null,
6868
"electionId": null,
69-
"error": "primary marked stale due to electionId/setVersion mismatch"
69+
"error": "primary marked stale due to discovery of newer primary"
7070
},
7171
"b:27017": {
7272
"type": "RSPrimary",

test/discovery_and_monitoring/rs/setversion_without_electionid-pre-6.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"type": "Unknown",
6767
"setName": null,
6868
"electionId": null,
69-
"error": "primary marked stale due to electionId/setVersion mismatch"
69+
"error": "primary marked stale due to discovery of newer primary"
7070
},
7171
"b:27017": {
7272
"type": "RSPrimary",

test/discovery_and_monitoring/rs/use_setversion_without_electionid-pre-6.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"type": "Unknown",
7575
"setName": null,
7676
"electionId": null,
77-
"error": "primary marked stale due to electionId/setVersion mismatch"
77+
"error": "primary marked stale due to discovery of newer primary"
7878
},
7979
"b:27017": {
8080
"type": "RSPrimary",

0 commit comments

Comments
 (0)