Skip to content

Commit 0bb24d8

Browse files
authored
Merge branch 'master' into PYTHON-4881
2 parents b7fd80d + 6a7e83d commit 0bb24d8

File tree

8 files changed

+278
-84
lines changed

8 files changed

+278
-84
lines changed

.evergreen/config.yml

Lines changed: 187 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,23 +2112,6 @@ axes:
21122112
AUTH: "noauth"
21132113
SSL: "nossl"
21142114

2115-
# Choice of wire protocol compression support
2116-
- id: compression
2117-
display_name: Compression
2118-
values:
2119-
- id: snappy
2120-
display_name: snappy compression
2121-
variables:
2122-
COMPRESSORS: "snappy"
2123-
- id: zlib
2124-
display_name: zlib compression
2125-
variables:
2126-
COMPRESSORS: "zlib"
2127-
- id: zstd
2128-
display_name: zstd compression
2129-
variables:
2130-
COMPRESSORS: "zstd"
2131-
21322115
# Choice of MongoDB server version
21332116
- id: mongodb-version
21342117
display_name: "MongoDB"
@@ -2609,76 +2592,100 @@ buildvariants:
26092592
# Server tests for macOS Arm64.
26102593
- name: test-macos-arm64-py3.9-auth-ssl-sync
26112594
tasks:
2612-
- name: .standalone
2595+
- name: .standalone .6.0
2596+
- name: .standalone .7.0
2597+
- name: .standalone .8.0
2598+
- name: .standalone .rapid
2599+
- name: .standalone .latest
26132600
display_name: Test macOS Arm64 py3.9 Auth SSL Sync
26142601
run_on:
26152602
- macos-14-arm64
26162603
expansions:
26172604
AUTH: auth
26182605
SSL: ssl
26192606
TEST_SUITES: default
2620-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26212607
SKIP_CSOT_TESTS: "true"
2608+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26222609
- name: test-macos-arm64-py3.9-auth-ssl-async
26232610
tasks:
2624-
- name: .standalone
2611+
- name: .standalone .6.0
2612+
- name: .standalone .7.0
2613+
- name: .standalone .8.0
2614+
- name: .standalone .rapid
2615+
- name: .standalone .latest
26252616
display_name: Test macOS Arm64 py3.9 Auth SSL Async
26262617
run_on:
26272618
- macos-14-arm64
26282619
expansions:
26292620
AUTH: auth
26302621
SSL: ssl
26312622
TEST_SUITES: default_async
2632-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26332623
SKIP_CSOT_TESTS: "true"
2624+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26342625
- name: test-macos-arm64-py3.13-noauth-ssl-sync
26352626
tasks:
2636-
- name: .replica_set
2627+
- name: .replica_set .6.0
2628+
- name: .replica_set .7.0
2629+
- name: .replica_set .8.0
2630+
- name: .replica_set .rapid
2631+
- name: .replica_set .latest
26372632
display_name: Test macOS Arm64 py3.13 NoAuth SSL Sync
26382633
run_on:
26392634
- macos-14-arm64
26402635
expansions:
26412636
AUTH: noauth
26422637
SSL: ssl
26432638
TEST_SUITES: default
2644-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3
26452639
SKIP_CSOT_TESTS: "true"
2640+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3
26462641
- name: test-macos-arm64-py3.13-noauth-ssl-async
26472642
tasks:
2648-
- name: .replica_set
2643+
- name: .replica_set .6.0
2644+
- name: .replica_set .7.0
2645+
- name: .replica_set .8.0
2646+
- name: .replica_set .rapid
2647+
- name: .replica_set .latest
26492648
display_name: Test macOS Arm64 py3.13 NoAuth SSL Async
26502649
run_on:
26512650
- macos-14-arm64
26522651
expansions:
26532652
AUTH: noauth
26542653
SSL: ssl
26552654
TEST_SUITES: default_async
2656-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3
26572655
SKIP_CSOT_TESTS: "true"
2656+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3
26582657
- name: test-macos-arm64-py3.9-noauth-nossl-sync
26592658
tasks:
2660-
- name: .sharded_cluster
2659+
- name: .sharded_cluster .6.0
2660+
- name: .sharded_cluster .7.0
2661+
- name: .sharded_cluster .8.0
2662+
- name: .sharded_cluster .rapid
2663+
- name: .sharded_cluster .latest
26612664
display_name: Test macOS Arm64 py3.9 NoAuth NoSSL Sync
26622665
run_on:
26632666
- macos-14-arm64
26642667
expansions:
26652668
AUTH: noauth
26662669
SSL: nossl
26672670
TEST_SUITES: default
2668-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26692671
SKIP_CSOT_TESTS: "true"
2672+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26702673
- name: test-macos-arm64-py3.9-noauth-nossl-async
26712674
tasks:
2672-
- name: .sharded_cluster
2675+
- name: .sharded_cluster .6.0
2676+
- name: .sharded_cluster .7.0
2677+
- name: .sharded_cluster .8.0
2678+
- name: .sharded_cluster .rapid
2679+
- name: .sharded_cluster .latest
26732680
display_name: Test macOS Arm64 py3.9 NoAuth NoSSL Async
26742681
run_on:
26752682
- macos-14-arm64
26762683
expansions:
26772684
AUTH: noauth
26782685
SSL: nossl
26792686
TEST_SUITES: default_async
2680-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26812687
SKIP_CSOT_TESTS: "true"
2688+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26822689

26832690
# Server tests for Windows.
26842691
- name: test-win64-py3.9-auth-ssl-sync
@@ -3125,6 +3132,157 @@ buildvariants:
31253132
PYTHON_BINARY: C:/python/Python313/python.exe
31263133
tags: [encryption_tag]
31273134

3135+
# Compressor tests.
3136+
- name: snappy-compression-rhel8-py3.9-no-c
3137+
tasks:
3138+
- name: .standalone
3139+
display_name: snappy compression RHEL8 py3.9 No C
3140+
run_on:
3141+
- rhel87-small
3142+
expansions:
3143+
COMPRESSORS: snappy
3144+
NO_EXT: "1"
3145+
PYTHON_BINARY: /opt/python/3.9/bin/python3
3146+
- name: snappy-compression-rhel8-py3.10
3147+
tasks:
3148+
- name: .standalone
3149+
display_name: snappy compression RHEL8 py3.10
3150+
run_on:
3151+
- rhel87-small
3152+
expansions:
3153+
COMPRESSORS: snappy
3154+
PYTHON_BINARY: /opt/python/3.10/bin/python3
3155+
- name: zlib-compression-rhel8-py3.11-no-c
3156+
tasks:
3157+
- name: .standalone
3158+
display_name: zlib compression RHEL8 py3.11 No C
3159+
run_on:
3160+
- rhel87-small
3161+
expansions:
3162+
COMPRESSORS: zlib
3163+
NO_EXT: "1"
3164+
PYTHON_BINARY: /opt/python/3.11/bin/python3
3165+
- name: zlib-compression-rhel8-py3.12
3166+
tasks:
3167+
- name: .standalone
3168+
display_name: zlib compression RHEL8 py3.12
3169+
run_on:
3170+
- rhel87-small
3171+
expansions:
3172+
COMPRESSORS: zlib
3173+
PYTHON_BINARY: /opt/python/3.12/bin/python3
3174+
- name: zstd-compression-rhel8-py3.13-no-c
3175+
tasks:
3176+
- name: .standalone !.4.0
3177+
display_name: zstd compression RHEL8 py3.13 No C
3178+
run_on:
3179+
- rhel87-small
3180+
expansions:
3181+
COMPRESSORS: zstd
3182+
NO_EXT: "1"
3183+
PYTHON_BINARY: /opt/python/3.13/bin/python3
3184+
- name: zstd-compression-rhel8-py3.9
3185+
tasks:
3186+
- name: .standalone !.4.0
3187+
display_name: zstd compression RHEL8 py3.9
3188+
run_on:
3189+
- rhel87-small
3190+
expansions:
3191+
COMPRESSORS: zstd
3192+
PYTHON_BINARY: /opt/python/3.9/bin/python3
3193+
- name: snappy-compression-rhel8-pypy3.9
3194+
tasks:
3195+
- name: .standalone
3196+
display_name: snappy compression RHEL8 pypy3.9
3197+
run_on:
3198+
- rhel87-small
3199+
expansions:
3200+
COMPRESSORS: snappy
3201+
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3
3202+
- name: zlib-compression-rhel8-pypy3.10
3203+
tasks:
3204+
- name: .standalone
3205+
display_name: zlib compression RHEL8 pypy3.10
3206+
run_on:
3207+
- rhel87-small
3208+
expansions:
3209+
COMPRESSORS: zlib
3210+
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3
3211+
- name: zstd-compression-rhel8-pypy3.9
3212+
tasks:
3213+
- name: .standalone !.4.0
3214+
display_name: zstd compression RHEL8 pypy3.9
3215+
run_on:
3216+
- rhel87-small
3217+
expansions:
3218+
COMPRESSORS: zstd
3219+
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3
3220+
3221+
# Enterprise auth tests.
3222+
- name: enterprise-auth-macos-py3.9-auth
3223+
tasks:
3224+
- name: test-enterprise-auth
3225+
display_name: Enterprise Auth macOS py3.9 Auth
3226+
run_on:
3227+
- macos-14
3228+
expansions:
3229+
AUTH: auth
3230+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
3231+
- name: enterprise-auth-rhel8-py3.10-auth
3232+
tasks:
3233+
- name: test-enterprise-auth
3234+
display_name: Enterprise Auth RHEL8 py3.10 Auth
3235+
run_on:
3236+
- rhel87-small
3237+
expansions:
3238+
AUTH: auth
3239+
PYTHON_BINARY: /opt/python/3.10/bin/python3
3240+
- name: enterprise-auth-rhel8-py3.11-auth
3241+
tasks:
3242+
- name: test-enterprise-auth
3243+
display_name: Enterprise Auth RHEL8 py3.11 Auth
3244+
run_on:
3245+
- rhel87-small
3246+
expansions:
3247+
AUTH: auth
3248+
PYTHON_BINARY: /opt/python/3.11/bin/python3
3249+
- name: enterprise-auth-rhel8-py3.12-auth
3250+
tasks:
3251+
- name: test-enterprise-auth
3252+
display_name: Enterprise Auth RHEL8 py3.12 Auth
3253+
run_on:
3254+
- rhel87-small
3255+
expansions:
3256+
AUTH: auth
3257+
PYTHON_BINARY: /opt/python/3.12/bin/python3
3258+
- name: enterprise-auth-win64-py3.13-auth
3259+
tasks:
3260+
- name: test-enterprise-auth
3261+
display_name: Enterprise Auth Win64 py3.13 Auth
3262+
run_on:
3263+
- windows-64-vsMulti-small
3264+
expansions:
3265+
AUTH: auth
3266+
PYTHON_BINARY: C:/python/Python313/python.exe
3267+
- name: enterprise-auth-rhel8-pypy3.9-auth
3268+
tasks:
3269+
- name: test-enterprise-auth
3270+
display_name: Enterprise Auth RHEL8 pypy3.9 Auth
3271+
run_on:
3272+
- rhel87-small
3273+
expansions:
3274+
AUTH: auth
3275+
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3
3276+
- name: enterprise-auth-rhel8-pypy3.10-auth
3277+
tasks:
3278+
- name: test-enterprise-auth
3279+
display_name: Enterprise Auth RHEL8 pypy3.10 Auth
3280+
run_on:
3281+
- rhel87-small
3282+
expansions:
3283+
AUTH: auth
3284+
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3
3285+
31283286
- matrix_name: "tests-fips"
31293287
matrix_spec:
31303288
platform:
@@ -3214,38 +3372,6 @@ buildvariants:
32143372
- ".4.2"
32153373
- ".4.0"
32163374

3217-
- matrix_name: "tests-python-version-rhel8-compression"
3218-
matrix_spec:
3219-
platform: rhel8
3220-
python-version: "*"
3221-
c-extensions: "*"
3222-
compression: "*"
3223-
exclude_spec:
3224-
# These interpreters are always tested without extensions.
3225-
- platform: rhel8
3226-
python-version: ["pypy3.9", "pypy3.10"]
3227-
c-extensions: "with-c-extensions"
3228-
compression: "*"
3229-
display_name: "${compression} ${c-extensions} ${python-version} ${platform}"
3230-
tasks:
3231-
- "test-latest-standalone"
3232-
- "test-8.0-standalone"
3233-
- "test-7.0-standalone"
3234-
- "test-6.0-standalone"
3235-
- "test-5.0-standalone"
3236-
- "test-4.4-standalone"
3237-
- "test-4.2-standalone"
3238-
- "test-4.0-standalone"
3239-
rules:
3240-
# Server version 4.0 supports snappy and zlib but not zstd.
3241-
- if:
3242-
python-version: "*"
3243-
c-extensions: "*"
3244-
compression: ["zstd"]
3245-
then:
3246-
remove_tasks:
3247-
- "test-4.0-standalone"
3248-
32493375
- matrix_name: "tests-python-version-green-framework-rhel8"
32503376
matrix_spec:
32513377
platform: rhel8
@@ -3313,24 +3439,6 @@ buildvariants:
33133439
tasks:
33143440
- ".latest"
33153441

3316-
- matrix_name: "test-linux-enterprise-auth"
3317-
matrix_spec:
3318-
platform: rhel8
3319-
python-version: "*"
3320-
auth: "auth"
3321-
display_name: "Enterprise ${auth} ${platform} ${python-version}"
3322-
tasks:
3323-
- name: "test-enterprise-auth"
3324-
3325-
- matrix_name: "tests-windows-enterprise-auth"
3326-
matrix_spec:
3327-
platform: windows
3328-
python-version-windows: "*"
3329-
auth: "auth"
3330-
display_name: "Enterprise ${auth} ${platform} ${python-version-windows}"
3331-
tasks:
3332-
- name: "test-enterprise-auth"
3333-
33343442
- matrix_name: "test-search-index-helpers"
33353443
matrix_spec:
33363444
platform: rhel8

.evergreen/run-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ if [ -n "$TEST_ENTERPRISE_AUTH" ]; then
9090
export GSSAPI_HOST=${SASL_HOST}
9191
export GSSAPI_PORT=${SASL_PORT}
9292
export GSSAPI_PRINCIPAL=${PRINCIPAL}
93+
94+
export TEST_SUITES="auth"
9395
fi
9496

9597
if [ -n "$TEST_LOADBALANCER" ]; then

0 commit comments

Comments
 (0)