Skip to content

Commit

Permalink
fix: Skip No Canvas regions for test_deploy_best_candidate (aws#4477)
Browse files Browse the repository at this point in the history
  • Loading branch information
knikure authored and bencrabtree committed Mar 13, 2024
1 parent 9a26978 commit 69a9fcd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions tests/integ/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@
"af-south-1",
"eu-south-1",
]
NO_CANVAS_REGIONS = [
"ca-central-1",
"eu-north-1",
"eu-west-2",
"sa-east-1",
"us-west-1",
]
NO_MODEL_MONITORING_REGIONS = ["me-south-1", "af-south-1", "eu-south-1"]
DRIFT_CHECK_BASELINES_SUPPORTED_REGIONS = [
"us-east-2",
Expand Down
3 changes: 2 additions & 1 deletion tests/integ/test_auto_ml_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,8 @@ def test_best_candidate(


@pytest.mark.skipif(
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS,
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS
or tests.integ.test_region() in tests.integ.NO_CANVAS_REGIONS,
reason="AutoML is not supported in the region yet.",
)
@pytest.mark.release
Expand Down

0 comments on commit 69a9fcd

Please sign in to comment.