Skip to content

Commit 69a9fcd

Browse files
knikurebencrabtree
authored andcommitted
fix: Skip No Canvas regions for test_deploy_best_candidate (aws#4477)
1 parent 9a26978 commit 69a9fcd

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

tests/integ/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,13 @@
139139
"af-south-1",
140140
"eu-south-1",
141141
]
142+
NO_CANVAS_REGIONS = [
143+
"ca-central-1",
144+
"eu-north-1",
145+
"eu-west-2",
146+
"sa-east-1",
147+
"us-west-1",
148+
]
142149
NO_MODEL_MONITORING_REGIONS = ["me-south-1", "af-south-1", "eu-south-1"]
143150
DRIFT_CHECK_BASELINES_SUPPORTED_REGIONS = [
144151
"us-east-2",

tests/integ/test_auto_ml_v2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ def test_best_candidate(
330330

331331

332332
@pytest.mark.skipif(
333-
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS,
333+
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS
334+
or tests.integ.test_region() in tests.integ.NO_CANVAS_REGIONS,
334335
reason="AutoML is not supported in the region yet.",
335336
)
336337
@pytest.mark.release

0 commit comments

Comments
 (0)