Skip to content

Commit a5c8930

Browse files
committed
undo changes to hello response
1 parent d314742 commit a5c8930

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

test/asynchronous/test_discovery_and_monitoring.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,12 @@ async def send_cluster_time(time, inc, should_update):
261261
await got_hello(
262262
t,
263263
("host", 27017),
264-
{"ok": 1, "minWireVersion": 0, "maxWireVersion": 6, "$clusterTime": new},
264+
{
265+
"ok": 1,
266+
"minWireVersion": 0,
267+
"maxWireVersion": common.MIN_SUPPORTED_WIRE_VERSION,
268+
"$clusterTime": new,
269+
},
265270
)
266271

267272
actual = t.max_cluster_time()

test/test_discovery_and_monitoring.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,12 @@ def send_cluster_time(time, inc, should_update):
261261
got_hello(
262262
t,
263263
("host", 27017),
264-
{"ok": 1, "minWireVersion": 0, "maxWireVersion": 6, "$clusterTime": new},
264+
{
265+
"ok": 1,
266+
"minWireVersion": 0,
267+
"maxWireVersion": common.MIN_SUPPORTED_WIRE_VERSION,
268+
"$clusterTime": new,
269+
},
265270
)
266271

267272
actual = t.max_cluster_time()

0 commit comments

Comments
 (0)