File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
tests/integ/sagemaker/lineage Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 22
22
from sagemaker .lineage import artifact
23
23
from sagemaker .utils import retry_with_backoff
24
24
25
+ CREATION_VERIFICATION_WINDOW_MINUTES = 2
25
26
26
27
def test_create_delete (artifact_obj ):
27
28
# fixture does create and then delete, this test ensures it happens at least once
@@ -81,7 +82,7 @@ def test_list(artifact_objs, sagemaker_session):
81
82
82
83
83
84
def test_list_by_type (artifact_objs , sagemaker_session ):
84
- slack = datetime .timedelta (minutes = 1 )
85
+ slack = datetime .timedelta (minutes = CREATION_VERIFICATION_WINDOW_MINUTES )
85
86
now = datetime .datetime .now (datetime .timezone .utc )
86
87
expected_name = list (
87
88
filter (lambda x : x .artifact_type == "SDKIntegrationTestType2" , artifact_objs )
You can’t perform that action at this time.
0 commit comments