File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
tests/integ/sagemaker/lineage Expand file tree Collapse file tree 1 file changed +3
-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
26
+
25
27
26
28
def test_create_delete (artifact_obj ):
27
29
# fixture does create and then delete, this test ensures it happens at least once
@@ -81,7 +83,7 @@ def test_list(artifact_objs, sagemaker_session):
81
83
82
84
83
85
def test_list_by_type (artifact_objs , sagemaker_session ):
84
- slack = datetime .timedelta (minutes = 1 )
86
+ slack = datetime .timedelta (minutes = CREATION_VERIFICATION_WINDOW_MINUTES )
85
87
now = datetime .datetime .now (datetime .timezone .utc )
86
88
expected_name = list (
87
89
filter (lambda x : x .artifact_type == "SDKIntegrationTestType2" , artifact_objs )
You can’t perform that action at this time.
0 commit comments