Skip to content

Commit 1eb3b85

Browse files
authored
PYTHON-4735 Resync SDAM tests to fix TestUnifiedLoggingLoadbalanced (mongodb#1839)
1 parent 22b66b2 commit 1eb3b85

File tree

6 files changed

+22
-6
lines changed

6 files changed

+22
-6
lines changed

test/discovery_and_monitoring/rs/compatible.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"b:27017"
1717
],
1818
"minWireVersion": 0,
19-
"maxWireVersion": 6
19+
"maxWireVersion": 21
2020
}
2121
],
2222
[

test/discovery_and_monitoring/rs/compatible_unknown.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"b:27017"
1717
],
1818
"minWireVersion": 0,
19-
"maxWireVersion": 6
19+
"maxWireVersion": 21
2020
}
2121
]
2222
],

test/discovery_and_monitoring/sharded/compatible.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"isWritablePrimary": true,
2424
"msg": "isdbgrid",
2525
"minWireVersion": 0,
26-
"maxWireVersion": 6
26+
"maxWireVersion": 21
2727
}
2828
]
2929
],

test/discovery_and_monitoring/single/compatible.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"helloOk": true,
1212
"isWritablePrimary": true,
1313
"minWireVersion": 0,
14-
"maxWireVersion": 6
14+
"maxWireVersion": 21
1515
}
1616
]
1717
],

test/discovery_and_monitoring/single/too_old_then_upgraded.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"description": "Standalone with default maxWireVersion of 0 is upgraded to one with maxWireVersion 6",
2+
"description": "Standalone with default maxWireVersion of 0 is upgraded to one with maxWireVersion 21",
33
"uri": "mongodb://a",
44
"phases": [
55
{
@@ -35,7 +35,7 @@
3535
"helloOk": true,
3636
"isWritablePrimary": true,
3737
"minWireVersion": 0,
38-
"maxWireVersion": 6
38+
"maxWireVersion": 21
3939
}
4040
]
4141
],

test/discovery_and_monitoring/unified/logging-loadbalanced.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,22 @@
132132
}
133133
}
134134
},
135+
{
136+
"level": "debug",
137+
"component": "topology",
138+
"data": {
139+
"message": "Topology description changed",
140+
"topologyId": {
141+
"$$exists": true
142+
},
143+
"previousDescription": {
144+
"$$exists": true
145+
},
146+
"newDescription": {
147+
"$$exists": true
148+
}
149+
}
150+
},
135151
{
136152
"level": "debug",
137153
"component": "topology",

0 commit comments

Comments
 (0)