Skip to content

Commit eee3470

Browse files
authored
Increase wait times and parallel runs (#143)
Increase training job wait time from 15 mins to 30 mins Increase processing job wait time from 15 mins to 30 mins Increase parallel runs from 10 to 15
1 parent 6bcb8f1 commit eee3470

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/canary/scripts/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,5 @@ pushd $E2E_DIR
8585

8686
# run tests
8787
echo "Run Tests"
88-
pytest -n 10 --dist loadfile --log-cli-level INFO -m canary
88+
pytest -n 15 --dist loadfile --log-cli-level INFO -m canary
8989
popd

test/e2e/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def get_training_resource_status(reference: k8s.CustomResourceReference):
282282
def wait_resource_training_status(
283283
reference: k8s.CustomResourceReference,
284284
expected_status: str,
285-
wait_periods: int = 30,
285+
wait_periods: int = 60,
286286
period_length: int = 30,
287287
):
288288
return wait_for_status(
@@ -297,7 +297,7 @@ def wait_resource_training_status(
297297
def wait_sagemaker_training_status(
298298
training_job_name,
299299
expected_status: str,
300-
wait_periods: int = 30,
300+
wait_periods: int = 60,
301301
period_length: int = 30,
302302
):
303303
return wait_for_status(

test/e2e/tests/test_processingjob.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def _wait_resource_processing_status(
9191
self,
9292
reference: k8s.CustomResourceReference,
9393
expected_status: str,
94-
wait_periods: int = 30,
94+
wait_periods: int = 60,
9595
period_length: int = 30,
9696
):
9797
return wait_for_status(
@@ -106,7 +106,7 @@ def _wait_sagemaker_processing_status(
106106
self,
107107
processing_job_name,
108108
expected_status: str,
109-
wait_periods: int = 30,
109+
wait_periods: int = 60,
110110
period_length: int = 30,
111111
):
112112
return wait_for_status(

0 commit comments

Comments
 (0)