Skip to content

Commit cfc0820

Browse files
committed
reduce variants
1 parent cd7453f commit cfc0820

File tree

2 files changed

+276
-4
lines changed

2 files changed

+276
-4
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 272 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2491,6 +2491,28 @@ tasks:
24912491
- standalone-noauth-nossl
24922492
- sync
24932493
- pr
2494+
- name: test-server-version-python3.10-async-noauth-nossl-standalone-cov
2495+
commands:
2496+
- func: run server
2497+
vars:
2498+
AUTH: noauth
2499+
SSL: nossl
2500+
TOPOLOGY: standalone
2501+
COVERAGE: "1"
2502+
- func: run tests
2503+
vars:
2504+
AUTH: noauth
2505+
SSL: nossl
2506+
TOPOLOGY: standalone
2507+
COVERAGE: "1"
2508+
PYTHON_VERSION: "3.10"
2509+
TEST_NAME: default_async
2510+
tags:
2511+
- server-version
2512+
- python-3.10
2513+
- standalone-noauth-nossl
2514+
- async
2515+
- pr
24942516
- name: test-server-version-python3.11-sync-auth-ssl-replica-set-cov
24952517
commands:
24962518
- func: run server
@@ -2637,6 +2659,28 @@ tasks:
26372659
- replica_set-noauth-nossl
26382660
- sync
26392661
- pr
2662+
- name: test-server-version-python3.12-async-noauth-nossl-replica-set-cov
2663+
commands:
2664+
- func: run server
2665+
vars:
2666+
AUTH: noauth
2667+
SSL: nossl
2668+
TOPOLOGY: replica_set
2669+
COVERAGE: "1"
2670+
- func: run tests
2671+
vars:
2672+
AUTH: noauth
2673+
SSL: nossl
2674+
TOPOLOGY: replica_set
2675+
COVERAGE: "1"
2676+
PYTHON_VERSION: "3.12"
2677+
TEST_NAME: default_async
2678+
tags:
2679+
- server-version
2680+
- python-3.12
2681+
- replica_set-noauth-nossl
2682+
- async
2683+
- pr
26402684
- name: test-server-version-python3.13-sync-auth-ssl-sharded-cluster-cov
26412685
commands:
26422686
- func: run server
@@ -2659,6 +2703,26 @@ tasks:
26592703
- sharded_cluster-auth-ssl
26602704
- sync
26612705
- pr
2706+
- name: test-server-version-pypy3.10-async-auth-ssl-sharded-cluster
2707+
commands:
2708+
- func: run server
2709+
vars:
2710+
AUTH: auth
2711+
SSL: ssl
2712+
TOPOLOGY: sharded_cluster
2713+
- func: run tests
2714+
vars:
2715+
AUTH: auth
2716+
SSL: ssl
2717+
TOPOLOGY: sharded_cluster
2718+
PYTHON_VERSION: pypy3.10
2719+
TEST_NAME: default_async
2720+
tags:
2721+
- server-version
2722+
- python-pypy3.10
2723+
- sharded_cluster-auth-ssl
2724+
- async
2725+
- pr
26622726
- name: test-server-version-python3.9-sync-auth-nossl-sharded-cluster-cov
26632727
commands:
26642728
- func: run server
@@ -2783,6 +2847,214 @@ tasks:
27832847
- python-pypy3.10
27842848
- sharded_cluster-noauth-nossl
27852849
- async
2850+
- name: test-server-version-python3.9-sync-auth-ssl-sharded-cluster-cov
2851+
commands:
2852+
- func: run server
2853+
vars:
2854+
AUTH: auth
2855+
SSL: ssl
2856+
TOPOLOGY: sharded_cluster
2857+
COVERAGE: "1"
2858+
- func: run tests
2859+
vars:
2860+
AUTH: auth
2861+
SSL: ssl
2862+
TOPOLOGY: sharded_cluster
2863+
COVERAGE: "1"
2864+
PYTHON_VERSION: "3.9"
2865+
TEST_NAME: default_sync
2866+
tags:
2867+
- server-version
2868+
- python-3.9
2869+
- sharded_cluster-auth-ssl
2870+
- sync
2871+
- name: test-server-version-python3.9-async-auth-ssl-sharded-cluster-cov
2872+
commands:
2873+
- func: run server
2874+
vars:
2875+
AUTH: auth
2876+
SSL: ssl
2877+
TOPOLOGY: sharded_cluster
2878+
COVERAGE: "1"
2879+
- func: run tests
2880+
vars:
2881+
AUTH: auth
2882+
SSL: ssl
2883+
TOPOLOGY: sharded_cluster
2884+
COVERAGE: "1"
2885+
PYTHON_VERSION: "3.9"
2886+
TEST_NAME: default_async
2887+
tags:
2888+
- server-version
2889+
- python-3.9
2890+
- sharded_cluster-auth-ssl
2891+
- async
2892+
- name: test-server-version-python3.10-sync-auth-ssl-sharded-cluster-cov
2893+
commands:
2894+
- func: run server
2895+
vars:
2896+
AUTH: auth
2897+
SSL: ssl
2898+
TOPOLOGY: sharded_cluster
2899+
COVERAGE: "1"
2900+
- func: run tests
2901+
vars:
2902+
AUTH: auth
2903+
SSL: ssl
2904+
TOPOLOGY: sharded_cluster
2905+
COVERAGE: "1"
2906+
PYTHON_VERSION: "3.10"
2907+
TEST_NAME: default_sync
2908+
tags:
2909+
- server-version
2910+
- python-3.10
2911+
- sharded_cluster-auth-ssl
2912+
- sync
2913+
- name: test-server-version-python3.10-async-auth-ssl-sharded-cluster-cov
2914+
commands:
2915+
- func: run server
2916+
vars:
2917+
AUTH: auth
2918+
SSL: ssl
2919+
TOPOLOGY: sharded_cluster
2920+
COVERAGE: "1"
2921+
- func: run tests
2922+
vars:
2923+
AUTH: auth
2924+
SSL: ssl
2925+
TOPOLOGY: sharded_cluster
2926+
COVERAGE: "1"
2927+
PYTHON_VERSION: "3.10"
2928+
TEST_NAME: default_async
2929+
tags:
2930+
- server-version
2931+
- python-3.10
2932+
- sharded_cluster-auth-ssl
2933+
- async
2934+
- name: test-server-version-python3.11-sync-auth-ssl-sharded-cluster-cov
2935+
commands:
2936+
- func: run server
2937+
vars:
2938+
AUTH: auth
2939+
SSL: ssl
2940+
TOPOLOGY: sharded_cluster
2941+
COVERAGE: "1"
2942+
- func: run tests
2943+
vars:
2944+
AUTH: auth
2945+
SSL: ssl
2946+
TOPOLOGY: sharded_cluster
2947+
COVERAGE: "1"
2948+
PYTHON_VERSION: "3.11"
2949+
TEST_NAME: default_sync
2950+
tags:
2951+
- server-version
2952+
- python-3.11
2953+
- sharded_cluster-auth-ssl
2954+
- sync
2955+
- name: test-server-version-python3.11-async-auth-ssl-sharded-cluster-cov
2956+
commands:
2957+
- func: run server
2958+
vars:
2959+
AUTH: auth
2960+
SSL: ssl
2961+
TOPOLOGY: sharded_cluster
2962+
COVERAGE: "1"
2963+
- func: run tests
2964+
vars:
2965+
AUTH: auth
2966+
SSL: ssl
2967+
TOPOLOGY: sharded_cluster
2968+
COVERAGE: "1"
2969+
PYTHON_VERSION: "3.11"
2970+
TEST_NAME: default_async
2971+
tags:
2972+
- server-version
2973+
- python-3.11
2974+
- sharded_cluster-auth-ssl
2975+
- async
2976+
- name: test-server-version-python3.12-sync-auth-ssl-sharded-cluster-cov
2977+
commands:
2978+
- func: run server
2979+
vars:
2980+
AUTH: auth
2981+
SSL: ssl
2982+
TOPOLOGY: sharded_cluster
2983+
COVERAGE: "1"
2984+
- func: run tests
2985+
vars:
2986+
AUTH: auth
2987+
SSL: ssl
2988+
TOPOLOGY: sharded_cluster
2989+
COVERAGE: "1"
2990+
PYTHON_VERSION: "3.12"
2991+
TEST_NAME: default_sync
2992+
tags:
2993+
- server-version
2994+
- python-3.12
2995+
- sharded_cluster-auth-ssl
2996+
- sync
2997+
- name: test-server-version-python3.12-async-auth-ssl-sharded-cluster-cov
2998+
commands:
2999+
- func: run server
3000+
vars:
3001+
AUTH: auth
3002+
SSL: ssl
3003+
TOPOLOGY: sharded_cluster
3004+
COVERAGE: "1"
3005+
- func: run tests
3006+
vars:
3007+
AUTH: auth
3008+
SSL: ssl
3009+
TOPOLOGY: sharded_cluster
3010+
COVERAGE: "1"
3011+
PYTHON_VERSION: "3.12"
3012+
TEST_NAME: default_async
3013+
tags:
3014+
- server-version
3015+
- python-3.12
3016+
- sharded_cluster-auth-ssl
3017+
- async
3018+
- name: test-server-version-python3.13-async-auth-ssl-sharded-cluster-cov
3019+
commands:
3020+
- func: run server
3021+
vars:
3022+
AUTH: auth
3023+
SSL: ssl
3024+
TOPOLOGY: sharded_cluster
3025+
COVERAGE: "1"
3026+
- func: run tests
3027+
vars:
3028+
AUTH: auth
3029+
SSL: ssl
3030+
TOPOLOGY: sharded_cluster
3031+
COVERAGE: "1"
3032+
PYTHON_VERSION: "3.13"
3033+
TEST_NAME: default_async
3034+
tags:
3035+
- server-version
3036+
- python-3.13
3037+
- sharded_cluster-auth-ssl
3038+
- async
3039+
- name: test-server-version-pypy3.10-sync-auth-ssl-sharded-cluster
3040+
commands:
3041+
- func: run server
3042+
vars:
3043+
AUTH: auth
3044+
SSL: ssl
3045+
TOPOLOGY: sharded_cluster
3046+
- func: run tests
3047+
vars:
3048+
AUTH: auth
3049+
SSL: ssl
3050+
TOPOLOGY: sharded_cluster
3051+
PYTHON_VERSION: pypy3.10
3052+
TEST_NAME: default_sync
3053+
tags:
3054+
- server-version
3055+
- python-pypy3.10
3056+
- sharded_cluster-auth-ssl
3057+
- sync
27863058

27873059
# Serverless tests
27883060
- name: test-serverless

.evergreen/scripts/generate_config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -557,15 +557,15 @@ def create_server_version_tasks():
557557
for topology, auth, ssl, sync, python in task_inputs:
558558
combo = f"{topology}-{auth}-{ssl}"
559559
tags = ["server-version", f"python-{python}", combo, sync]
560-
if combo in seen:
561-
continue
562560
if combo in [
563561
"standalone-noauth-nossl",
564562
"replica_set-noauth-nossl",
565563
"sharded_cluster-auth-ssl",
566564
]:
567-
seen.add(combo)
568-
tags.append("pr")
565+
combo = f"{combo}-{sync}"
566+
if combo not in seen:
567+
seen.add(combo)
568+
tags.append("pr")
569569
expansions = dict(AUTH=auth, SSL=ssl, TOPOLOGY=topology)
570570
if python not in PYPYS:
571571
expansions["COVERAGE"] = "1"

0 commit comments

Comments
 (0)