Skip to content

Commit 15b421b

Browse files
committed
Reduce the number of tests and re-balance them across regions (part 2)
Signed-off-by: Luca Carrogu <[email protected]>
1 parent 68a7ebb commit 15b421b

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

tests/integration-tests/tests/cloudwatch_logging/test_cloudwatch_logging.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,9 @@ def get_config_param_vals():
583583

584584
# In order to limit the number of CloudWatch logging tests while still covering all the OSes...
585585
# 1) run the test for all of the schedulers with alinux2
586-
@pytest.mark.dimensions("eu-west-1", "c5.xlarge", "alinux2", "*")
586+
@pytest.mark.dimensions("ca-central-1", "c5.xlarge", "alinux2", "*")
587587
# 2) run the test for all of the OSes with slurm
588-
@pytest.mark.dimensions("eu-west-1", "c5.xlarge", "*", "slurm")
588+
@pytest.mark.dimensions("ap-east-1", "c5.xlarge", "*", "slurm")
589589
# 3) run the test for a single scheduler-OS combination on an ARM instance
590590
@pytest.mark.dimensions("eu-west-1", "m6g.xlarge", "alinux2", "slurm")
591591
def test_cloudwatch_logging(region, scheduler, instance, os, pcluster_config_reader, clusters_factory):

tests/integration-tests/tests/dns/test_dns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from tests.common.utils import fetch_instance_slots
2121

2222

23-
@pytest.mark.regions(["eu-west-1"])
23+
@pytest.mark.regions(["eu-west-2"])
2424
@pytest.mark.instances(["c5.xlarge"])
2525
@pytest.mark.schedulers(["slurm"])
2626
def test_hit_no_cluster_dns_mpi(

tests/integration-tests/tests/schedulers/test_awsbatch.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020

2121
@pytest.mark.batch_dockerfile_deps
2222
@pytest.mark.skip_regions(["ap-northeast-3", "us-gov-east-1", "us-gov-west-1"])
23-
@pytest.mark.instances(["c5.xlarge", "t2.large", "m6g.xlarge"])
24-
@pytest.mark.dimensions("*", "*", "alinux", "awsbatch")
25-
@pytest.mark.dimensions("*", "*", "alinux2", "awsbatch")
23+
@pytest.mark.instances(["c5.xlarge", "c4.xlarge", "m6g.xlarge"])
24+
@pytest.mark.dimensions("*", "c5.xlarge", "alinux2", "awsbatch")
25+
@pytest.mark.dimensions("cn-north-1", "c4.xlarge", "alinux2", "awsbatch")
26+
@pytest.mark.dimensions("ap-southeast-1", "c5.xlarge", "alinux", "awsbatch")
27+
@pytest.mark.dimensions("ap-northeast-1", "m6g.xlarge", "alinux2", "awsbatch")
2628
@pytest.mark.usefixtures("region", "os", "instance", "scheduler")
2729
def test_awsbatch(pcluster_config_reader, clusters_factory, test_datadir):
2830
"""

0 commit comments

Comments
 (0)