Skip to content

Commit b9fbfbd

Browse files
authored
Skip of tests which are long running and causing the ResourceLimitInUse exception (#4504)
1 parent 8d22789 commit b9fbfbd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tests/integ/test_auto_ml_v2.py

+24
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ def test_time_series_forecasting_session_job_name():
5050
return unique_name_from_base("ts-forecast-job", max_length=32)
5151

5252

53+
@pytest.mark.skip(
54+
reason="The test is disabled because it's causing the ResourceLimit exception. \
55+
Please run that manually before the proper fix."
56+
)
5357
@pytest.mark.skipif(
5458
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS,
5559
reason="AutoML is not supported in the region yet.",
@@ -116,6 +120,10 @@ def test_auto_ml_v2_describe_auto_ml_job(
116120
assert desc["OutputDataConfig"] == expected_default_output_config
117121

118122

123+
@pytest.mark.skip(
124+
reason="The test is disabled because it's causing the ResourceLimit exception. \
125+
Please run that manually before the proper fix."
126+
)
119127
@pytest.mark.skipif(
120128
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS,
121129
reason="AutoML is not supported in the region yet.",
@@ -181,6 +189,10 @@ def test_auto_ml_v2_attach(problem_type, job_name_fixture_key, sagemaker_session
181189
assert desc["OutputDataConfig"] == expected_default_output_config
182190

183191

192+
@pytest.mark.skip(
193+
reason="The test is disabled because it's causing the ResourceLimit exception. \
194+
Please run that manually before the proper fix."
195+
)
184196
@pytest.mark.skipif(
185197
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS,
186198
reason="AutoML is not supported in the region yet.",
@@ -258,6 +270,10 @@ def test_list_candidates(
258270
pytest.skip("The job hasn't finished yet")
259271

260272

273+
@pytest.mark.skip(
274+
reason="The test is disabled because it's causing the ResourceLimit exception. \
275+
Please run that manually before the proper fix."
276+
)
261277
@pytest.mark.skipif(
262278
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS,
263279
reason="AutoML is not supported in the region yet.",
@@ -329,6 +345,10 @@ def test_best_candidate(
329345
pytest.skip("The job hasn't finished yet")
330346

331347

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

425445

446+
@pytest.mark.skip(
447+
reason="The test is disabled because it's causing the ResourceLimit exception. \
448+
Please run that manually before the proper fix."
449+
)
426450
@pytest.mark.skipif(
427451
tests.integ.test_region() in tests.integ.NO_AUTO_ML_REGIONS,
428452
reason="AutoML is not supported in the region yet.",

0 commit comments

Comments
 (0)