Skip to content

Commit 340dbfb

Browse files
committed
add wire version checks for 6.0
1 parent 23785a4 commit 340dbfb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/libmongoc/tests/test-libmongoc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2604,6 +2604,8 @@ WIRE_VERSION_CHECKS (9)
26042604
WIRE_VERSION_CHECKS (13)
26052605
/* wire version 14 begins with the 5.1 prerelease. */
26062606
WIRE_VERSION_CHECKS (14)
2607+
/* wire version 17 begins with the 6.0 release. */
2608+
WIRE_VERSION_CHECKS (17)
26072609

26082610
int
26092611
test_framework_skip_if_no_dual_ip_hostname (void)

src/libmongoc/tests/test-libmongoc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ WIRE_VERSION_CHECK_DECLS (9)
199199
WIRE_VERSION_CHECK_DECLS (13)
200200
/* wire version 14 begins with the 5.1 prerelease. */
201201
WIRE_VERSION_CHECK_DECLS (14)
202+
/* wire version 17 begins with the 6.0 release. */
203+
WIRE_VERSION_CHECK_DECLS (17)
202204

203205
#undef WIRE_VERSION_CHECK_DECLS
204206

0 commit comments

Comments
 (0)