Skip to content

Commit ffd35d1

Browse files
authored
infra: rename canary_quick pytest mark to release (#2167)
1 parent 267f293 commit ffd35d1

22 files changed

+36
-36
lines changed

tests/integ/test_artifact_analytics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def generate_artifacts(sagemaker_session):
4444
_delete_resources(artifacts)
4545

4646

47-
@pytest.mark.canary_quick
47+
@pytest.mark.release
4848
@pytest.mark.skip("Failing as restricted to the SageMaker/Pipeline runtimes")
4949
def test_artifact_analytics(sagemaker_session):
5050
with generate_artifacts(sagemaker_session):

tests/integ/test_auto_ml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS,
5353
reason="AutoML is not supported in the region yet.",
5454
)
55-
@pytest.mark.canary_quick
55+
@pytest.mark.release
5656
def test_auto_ml_fit(sagemaker_session):
5757
auto_ml = AutoML(
5858
role=ROLE,
@@ -260,7 +260,7 @@ def test_best_candidate(sagemaker_session):
260260
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS,
261261
reason="AutoML is not supported in the region yet.",
262262
)
263-
@pytest.mark.canary_quick
263+
@pytest.mark.release
264264
def test_deploy_best_candidate(sagemaker_session, cpu_instance_type):
265265
auto_ml_utils.create_auto_ml_job_if_not_exist(sagemaker_session)
266266

tests/integ/test_byo_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def serialize(self, data):
4646
return json.dumps(js)
4747

4848

49-
@pytest.mark.canary_quick
49+
@pytest.mark.release
5050
def test_byo_estimator(sagemaker_session, region, cpu_instance_type, training_set):
5151
"""Use Factorization Machines algorithm as an example here.
5252

tests/integ/test_experiments_analytics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def experiment_with_artifacts(sagemaker_session):
108108
_delete_resources(sm, experiment_name, trials)
109109

110110

111-
@pytest.mark.canary_quick
111+
@pytest.mark.release
112112
def test_experiment_analytics_artifacts(sagemaker_session):
113113
with experiment_with_artifacts(sagemaker_session) as experiment_name:
114114
analytics = ExperimentAnalytics(

tests/integ/test_horovod.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
horovod_dir = os.path.join(os.path.dirname(__file__), "..", "data", "horovod")
2929

3030

31-
@pytest.mark.canary_quick
31+
@pytest.mark.release
3232
def test_hvd_cpu(
3333
sagemaker_session,
3434
tensorflow_training_latest_version,
@@ -45,7 +45,7 @@ def test_hvd_cpu(
4545
)
4646

4747

48-
@pytest.mark.canary_quick
48+
@pytest.mark.release
4949
@pytest.mark.skipif(
5050
integ.test_region() in integ.TRAINING_NO_P2_REGIONS, reason="no ml.p2 instances in this region"
5151
)

tests/integ/test_horovod_mx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
horovod_dir = os.path.join(os.path.dirname(__file__), "..", "data", "horovod")
2929

3030

31-
@pytest.mark.canary_quick
31+
@pytest.mark.release
3232
def test_hvd_cpu(
3333
mxnet_training_latest_version,
3434
mxnet_training_latest_py_version,
@@ -45,7 +45,7 @@ def test_hvd_cpu(
4545
)
4646

4747

48-
@pytest.mark.canary_quick
48+
@pytest.mark.release
4949
@pytest.mark.skipif(
5050
integ.test_region() in integ.TRAINING_NO_P2_REGIONS, reason="no ml.p2 instances in this region"
5151
)

tests/integ/test_inference_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_inference_pipeline_batch_transform(sagemaker_session, cpu_instance_type
9090
transformer.wait()
9191

9292

93-
@pytest.mark.canary_quick
93+
@pytest.mark.release
9494
@pytest.mark.skip(
9595
reason="This test has always failed, but the failure was masked by a bug. "
9696
"This test should be fixed. Details in https://github.com/aws/sagemaker-python-sdk/pull/968"

tests/integ/test_linear_learner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def training_set():
2828
return datasets.one_p_mnist()
2929

3030

31-
@pytest.mark.canary_quick
31+
@pytest.mark.release
3232
def test_linear_learner(sagemaker_session, cpu_instance_type, training_set):
3333
job_name = unique_name_from_base("linear-learner")
3434

tests/integ/test_marketplace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
)
5252

5353

54-
@pytest.mark.canary_quick
54+
@pytest.mark.release
5555
@pytest.mark.skipif(
5656
tests.integ.test_region() in tests.integ.NO_MARKET_PLACE_REGIONS,
5757
reason="Marketplace is not available in {}".format(tests.integ.test_region()),
@@ -150,7 +150,7 @@ def test_marketplace_attach(sagemaker_session, cpu_instance_type):
150150
print(predictor.predict(test_x.values).decode("utf-8"))
151151

152152

153-
@pytest.mark.canary_quick
153+
@pytest.mark.release
154154
@pytest.mark.skipif(
155155
tests.integ.test_region() in tests.integ.NO_MARKET_PLACE_REGIONS,
156156
reason="Marketplace is not available in {}".format(tests.integ.test_region()),

tests/integ/test_model_monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def updated_output_kms_key(sagemaker_session):
271271
tests.integ.test_region() in tests.integ.NO_MODEL_MONITORING_REGIONS,
272272
reason="ModelMonitoring is not yet supported in this region.",
273273
)
274-
@pytest.mark.canary_quick
274+
@pytest.mark.release
275275
def test_default_monitor_suggest_baseline_and_create_monitoring_schedule_with_customizations(
276276
sagemaker_session, output_kms_key, volume_kms_key, predictor
277277
):

0 commit comments

Comments
 (0)