Skip to content

Commit

Permalink
PYTHON-2811 PYTHON-2809 Skip Jython serverless test and fix versioned…
Browse files Browse the repository at this point in the history
… api testing
  • Loading branch information
ShaneHarvey committed Jul 13, 2021
1 parent da97572 commit 7f5df56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .evergreen/config.yml
Expand Up @@ -2658,14 +2658,15 @@ buildvariants:

- matrix_name: "versioned-api-tests"
matrix_spec:
platform: ubuntu-18.04
platform: awslinux
python-version: ["2.7", "3.9"]
auth: "auth"
versionedApi: "*"
display_name: "Versioned API ${versionedApi} ${python-version}"
batchtime: 10080 # 7 days
tasks:
# Versioned API was introduced in MongoDB 4.7
- "test-5.0-standalone"
- "test-latest-standalone"

- matrix_name: "ocsp-test"
Expand Down
2 changes: 2 additions & 0 deletions test/atlas/test_connection.py
Expand Up @@ -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'])

Expand Down

0 comments on commit 7f5df56

Please sign in to comment.