Skip to content

Commit 55293fb

Browse files
authored
fix: Skip No Canvas regions for test_deploy_best_candidate (#4477)
1 parent 790bd87 commit 55293fb

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

tests/integ/__init__.py

+7
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

+2-1
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)