You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CDRIVER-5956 raise min wire version from 7 to 8 (server 4.2) (#1998)
* bump WIRE_VERSION_MIN to 4.2
* update NEWS
* remove test tasks for 4.0
* regenerate Evergreen config
* remove `WIRE_VERSION_4_0`
Remove behavior and tests that only run on server <= 4.0.
* remove transactions wireversion=7 check
* remove test check for wireversion=5
* remove change stream prose test 9
Test is only expected to run on server >=4.0 and <4.0.7.
* expect `killCursors` in resume test
The "not primary" error does not cause the connection to be closed in > 4.0. Expect a `killCursors` command is sent on resume.
* remove prose test 12
Test requires server < 4.0.7
* remove unnecessary test wire version checks
Tests are expected to run on all supported server versions.
* remove test checks for wireversion=7
* comment describing server version for wire version
* remove test checks for wireversion<8
* remove test check for wireversion=6
* remove test checks for server 3.8
* skip pre-4.2 SDAM tests
* skip auth tests using 4.0 server
* update exhaust cursor tests to expect OP_MSG
Expect `killCursors` command on non-network error to avoid delay in `mongoc_cursor_destroy`.
# TODO: Remove `skip_for_zseries` when resolving CDRIVER-5990.
103
-
skip_for_zseries() {
102
+
maybe_skip() {
103
+
iftrue;then
104
+
# TODO: Remove if-block when resolving CDRIVER-5995.
105
+
echo"Skipping test until DEVPROD-9029 is resolved."
106
+
return
107
+
fi
108
+
104
109
if$IS_ZSERIES;then
110
+
# TODO: Remove if-block when resolving CDRIVER-5990.
105
111
echo"Skipping test until DEVPROD-16954 is resolved."
106
112
return
107
113
fi
@@ -113,7 +119,7 @@ if [[ "${ssl}" != "OFF" ]]; then
113
119
# FIXME: CDRIVER-2008 for the cygwin check
114
120
if [[ "${OSTYPE}"!="cygwin" ]];then
115
121
echo"Authenticating using X.509"
116
-
LD_LIBRARY_PATH="${openssl_lib_prefix}"skip_for_zseries"${ping}""mongodb://CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US@${auth_host}/?ssl=true&authMechanism=MONGODB-X509&sslClientCertificateKeyFile=src/libmongoc/tests/x509gen/ldaptest-client-key-and-cert.pem&sslCertificateAuthorityFile=src/libmongoc/tests/x509gen/ldaptest-ca-cert.crt&sslAllowInvalidHostnames=true&${c_timeout}"
122
+
LD_LIBRARY_PATH="${openssl_lib_prefix}"maybe_skip"${ping}""mongodb://CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US@${auth_host}/?ssl=true&authMechanism=MONGODB-X509&sslClientCertificateKeyFile=src/libmongoc/tests/x509gen/ldaptest-client-key-and-cert.pem&sslCertificateAuthorityFile=src/libmongoc/tests/x509gen/ldaptest-ca-cert.crt&sslAllowInvalidHostnames=true&${c_timeout}"
* The minimum supported MongoDB Server version is raised from 4.0 to 4.2. This is in accordance with [MongoDB Software Lifecycle Schedules](https://www.mongodb.com/legal/support-policy/lifecycles).
0 commit comments