Skip to content

Commit 7f5df56

Browse files
committed
PYTHON-2811 PYTHON-2809 Skip Jython serverless test and fix versioned api testing
1 parent da97572 commit 7f5df56

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.evergreen/config.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2658,14 +2658,15 @@ buildvariants:
26582658

26592659
- matrix_name: "versioned-api-tests"
26602660
matrix_spec:
2661-
platform: ubuntu-18.04
2661+
platform: awslinux
26622662
python-version: ["2.7", "3.9"]
26632663
auth: "auth"
26642664
versionedApi: "*"
26652665
display_name: "Versioned API ${versionedApi} ${python-version}"
26662666
batchtime: 10080 # 7 days
26672667
tasks:
26682668
# Versioned API was introduced in MongoDB 4.7
2669+
- "test-5.0-standalone"
26692670
- "test-latest-standalone"
26702671

26712672
- matrix_name: "ocsp-test"

test/atlas/test_connection.py

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ def test_tls_11(self):
7979
def test_tls_12(self):
8080
connect(URIS['ATLAS_TLS12'])
8181

82+
@unittest.skipIf(sys.platform.startswith('java'),
83+
'Jython does not support serverless TLS')
8284
def test_serverless(self):
8385
connect(URIS['ATLAS_SERVERLESS'])
8486

0 commit comments

Comments
 (0)