Skip to content

Skip of tests which are long running and causing the ResourceLimitInUse exception #4504

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
Mar 14, 2024
Merged
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
24 changes: 24 additions & 0 deletions tests/integ/test_auto_ml_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ def test_time_series_forecasting_session_job_name():
return unique_name_from_base("ts-forecast-job", max_length=32)


@pytest.mark.skip(
reason="The test is disabled because it's causing the ResourceLimit exception. \
Please run that manually before the proper fix."
)
@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 Expand Up @@ -116,6 +120,10 @@ def test_auto_ml_v2_describe_auto_ml_job(
assert desc["OutputDataConfig"] == expected_default_output_config


@pytest.mark.skip(
reason="The test is disabled because it's causing the ResourceLimit exception. \
Please run that manually before the proper fix."
)
@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 Expand Up @@ -181,6 +189,10 @@ def test_auto_ml_v2_attach(problem_type, job_name_fixture_key, sagemaker_session
assert desc["OutputDataConfig"] == expected_default_output_config


@pytest.mark.skip(
reason="The test is disabled because it's causing the ResourceLimit exception. \
Please run that manually before the proper fix."
)
@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 Expand Up @@ -258,6 +270,10 @@ def test_list_candidates(
pytest.skip("The job hasn't finished yet")


@pytest.mark.skip(
reason="The test is disabled because it's causing the ResourceLimit exception. \
Please run that manually before the proper fix."
)
@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 Expand Up @@ -329,6 +345,10 @@ def test_best_candidate(
pytest.skip("The job hasn't finished yet")


@pytest.mark.skip(
reason="The test is disabled because it's causing the ResourceLimit exception. \
Please run that manually before the proper fix."
)
@pytest.mark.skipif(
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS
or tests.integ.test_region() in tests.integ.NO_CANVAS_REGIONS,
Expand Down Expand Up @@ -423,6 +443,10 @@ def test_deploy_best_candidate(
pytest.skip("The job hasn't finished yet")


@pytest.mark.skip(
reason="The test is disabled because it's causing the ResourceLimit exception. \
Please run that manually before the proper fix."
)
@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