Skip to content

Commit f902401

Browse files
committed
split up other hosts tests by sync
1 parent 21b7fbb commit f902401

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3096,6 +3096,7 @@ tasks:
30963096
AUTH: noauth
30973097
SSL: nossl
30983098
TOPOLOGY: standalone
3099+
TEST_NAME: default_sync
30993100
tags: [other-hosts, standalone-noauth-nossl]
31003101
- name: test-noauth-ssl-replica-set
31013102
commands:
@@ -3109,6 +3110,7 @@ tasks:
31093110
AUTH: noauth
31103111
SSL: ssl
31113112
TOPOLOGY: replica_set
3113+
TEST_NAME: default_async
31123114
tags: [other-hosts, replica_set-noauth-ssl]
31133115
- name: test-auth-ssl-sharded-cluster
31143116
commands:
@@ -3122,6 +3124,7 @@ tasks:
31223124
AUTH: auth
31233125
SSL: ssl
31243126
TOPOLOGY: sharded_cluster
3127+
TEST_NAME: default_sync
31253128
tags: [other-hosts, sharded_cluster-auth-ssl]
31263129

31273130
# Perf tests

.evergreen/scripts/generate_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ def create_server_version_tasks():
619619
def create_other_hosts_tasks():
620620
tasks = []
621621

622-
for topology in TOPOLOGIES:
622+
for topology, sync in zip_cycle(TOPOLOGIES, SYNCS):
623623
auth, ssl = get_standard_auth_ssl(topology)
624624
tags = [
625625
"other-hosts",
@@ -629,6 +629,7 @@ def create_other_hosts_tasks():
629629
name = get_task_name("test", **expansions)
630630
server_func = FunctionCall(func="run server", vars=expansions)
631631
test_vars = expansions.copy()
632+
test_vars["TEST_NAME"] = f"default_{sync}"
632633
test_func = FunctionCall(func="run tests", vars=test_vars)
633634
tasks.append(EvgTask(name=name, tags=tags, commands=[server_func, test_func]))
634635
return tasks

0 commit comments

Comments
 (0)