Skip to content

change: mark top 10 slow tests #2149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/integ/test_auto_ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
}


@pytest.mark.slow_test
@pytest.mark.skipif(
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS,
reason="AutoML is not supported in the region yet.",
Expand Down
2 changes: 2 additions & 0 deletions tests/integ/test_clarify_model_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ def test_bias_monitor(sagemaker_session, scheduled_bias_monitor, endpoint_name,
monitor.delete_monitoring_schedule()


@pytest.mark.slow_test
@pytest.mark.skipif(
tests.integ.test_region() in tests.integ.NO_MODEL_MONITORING_REGIONS,
reason="ModelMonitoring is not yet supported in this region.",
Expand Down Expand Up @@ -393,6 +394,7 @@ def test_explainability_monitor(sagemaker_session, scheduled_explainability_moni
monitor.delete_monitoring_schedule()


@pytest.mark.slow_test
@pytest.mark.skipif(
tests.integ.test_region() in tests.integ.NO_MODEL_MONITORING_REGIONS,
reason="ModelMonitoring is not yet supported in this region.",
Expand Down
1 change: 1 addition & 0 deletions tests/integ/test_inference_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def test_inference_pipeline_model_deploy(sagemaker_session, cpu_instance_type):
assert "Could not find model" in str(exception.value)


@pytest.mark.slow_test
def test_inference_pipeline_model_deploy_and_update_endpoint(
sagemaker_session, cpu_instance_type, alternative_cpu_instance_type
):
Expand Down
1 change: 1 addition & 0 deletions tests/integ/test_model_quality_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ def test_run_model_quality_monitor(
monitor.delete_monitoring_schedule()


@pytest.mark.slow_test
@pytest.mark.skipif(
tests.integ.test_region() in tests.integ.NO_MODEL_MONITORING_REGIONS,
reason="ModelMonitoring is not yet supported in this region.",
Expand Down
2 changes: 2 additions & 0 deletions tests/integ/test_multidatamodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ def test_multi_data_model_deploy_pretrained_models_local_mode(container_image, s
assert "Could not find endpoint" in str(exception.value)


@pytest.mark.slow_test
@pytest.mark.skipif(
tests.integ.test_region() != "us-east-2",
reason="Pulling the base image is currently limited to us-east-2.",
Expand Down Expand Up @@ -481,6 +482,7 @@ def __rcf_training_job(
return rcf_model


@pytest.mark.slow_test
@pytest.mark.skipif(
tests.integ.test_region() != "us-east-2",
reason="Pulling the base image is currently limited to us-east-2.",
Expand Down
2 changes: 2 additions & 0 deletions tests/integ/test_mxnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def test_attach_deploy(mxnet_training_job, sagemaker_session, cpu_instance_type)
assert result is not None


@pytest.mark.slow_test
def test_deploy_estimator_with_different_instance_types(
mxnet_training_job,
sagemaker_session,
Expand Down Expand Up @@ -258,6 +259,7 @@ def test_deploy_model_with_tags_and_kms(
assert endpoint_config["KmsKeyId"] == kms_key_arn


@pytest.mark.slow_test
def test_deploy_model_and_update_endpoint(
mxnet_training_job,
sagemaker_session,
Expand Down
1 change: 1 addition & 0 deletions tests/integ/test_tuner.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ def test_stop_tuning_job(sagemaker_session, cpu_instance_type):
assert desc["HyperParameterTuningJobStatus"] == "Stopping"


@pytest.mark.slow_test
@pytest.mark.canary_quick
def test_tuning_mxnet(
sagemaker_session,
Expand Down