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 15
15
import datetime
16
16
import json
17
17
import os
18
+ import time
18
19
19
20
import pytest
20
21
@@ -245,6 +246,12 @@ def test_run_from_local_and_train_job_and_all_exp_cfg_match(
245
246
sagemaker_session = sagemaker_session ,
246
247
)
247
248
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
+
248
255
_check_tc_status_when_exiting (
249
256
trial_component_name = run ._trial_component .trial_component_name ,
250
257
init_start_time = init_start_time ,
You can’t perform that action at this time.
0 commit comments