Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b35124a

Browse files
committedMay 5, 2025·
test: fix mock hello
1 parent d9caec6 commit b35124a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎test/tools/mongodb-mock/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const DEFAULT_HELLO = {
1717
ok: 1
1818
};
1919

20-
const DEFAULT_HELLO_40 = Object.assign({}, DEFAULT_HELLO, {
21-
maxWireVersion: 7,
20+
const DEFAULT_HELLO_42 = Object.assign({}, DEFAULT_HELLO, {
21+
maxWireVersion: 8,
2222
logicalSessionTimeoutMinutes: 10
2323
});
2424

@@ -92,5 +92,5 @@ function cleanup(spy, callback) {
9292
module.exports = {
9393
createServer,
9494
cleanup,
95-
HELLO: DEFAULT_HELLO_40
95+
HELLO: DEFAULT_HELLO_42
9696
};

0 commit comments

Comments
 (0)
Please sign in to comment.