We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acadfd3 commit 0c555c1Copy full SHA for 0c555c1
tests/integ/sagemaker/lineage/conftest.py
@@ -43,7 +43,7 @@
43
)
44
from sagemaker.lineage.lineage_trial_component import LineageTrialComponent
45
46
-from tests.integ.sagemaker.lineage.helpers import name, names
+from tests.integ.sagemaker.lineage.helpers import name, names, retry
47
48
SLEEP_TIME_SECONDS = 1
49
SLEEP_TIME_TWO_SECONDS = 2
@@ -400,7 +400,7 @@ def model_obj(sagemaker_session):
400
401
yield model
402
time.sleep(SLEEP_TIME_SECONDS)
403
- model.delete(disassociate=True)
+ retry(lambda: model.delete(disassociate=True), num_attempts=4)
404
405
406
@pytest.fixture
0 commit comments