File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
tests/integ/sagemaker/experiments Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1515import datetime
1616import json
1717import os
18+ import time
1819
1920import pytest
2021
@@ -245,6 +246,12 @@ def test_run_from_local_and_train_job_and_all_exp_cfg_match(
245246 sagemaker_session = sagemaker_session ,
246247 )
247248
249+ # the above estimator has wait=True but the job TC could still be receiving updates
250+ # after wait is complete resulting in run TC being updated, then when the above with
251+ # statement is exited another update trial component call is made _sometimes_
252+ # resulting in a ConflictException
253+ time .sleep (3 )
254+
248255 _check_tc_status_when_exiting (
249256 trial_component_name = run ._trial_component .trial_component_name ,
250257 init_start_time = init_start_time ,
You can’t perform that action at this time.
0 commit comments