From 7f5df56a0ffae6a2196a850b4af089f61243b69b Mon Sep 17 00:00:00 2001 From: Shane Harvey Date: Tue, 13 Jul 2021 08:41:26 -0700 Subject: [PATCH] PYTHON-2811 PYTHON-2809 Skip Jython serverless test and fix versioned api testing --- .evergreen/config.yml | 3 ++- test/atlas/test_connection.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 1be469ed27..1720c4041b 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -2658,7 +2658,7 @@ buildvariants: - matrix_name: "versioned-api-tests" matrix_spec: - platform: ubuntu-18.04 + platform: awslinux python-version: ["2.7", "3.9"] auth: "auth" versionedApi: "*" @@ -2666,6 +2666,7 @@ buildvariants: batchtime: 10080 # 7 days tasks: # Versioned API was introduced in MongoDB 4.7 + - "test-5.0-standalone" - "test-latest-standalone" - matrix_name: "ocsp-test" diff --git a/test/atlas/test_connection.py b/test/atlas/test_connection.py index 1ad84068ed..a1c40bf702 100644 --- a/test/atlas/test_connection.py +++ b/test/atlas/test_connection.py @@ -79,6 +79,8 @@ def test_tls_11(self): def test_tls_12(self): connect(URIS['ATLAS_TLS12']) + @unittest.skipIf(sys.platform.startswith('java'), + 'Jython does not support serverless TLS') def test_serverless(self): connect(URIS['ATLAS_SERVERLESS'])