Skip to content

Commit 47b8d66

Browse files
danabensNamrata Madan
authored and
Namrata Madan
committed
fix: increase creation time slack minutes (aws#3606)
1 parent 081597f commit 47b8d66

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integ/sagemaker/lineage/test_artifact.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
from sagemaker.lineage import artifact
2323
from sagemaker.utils import retry_with_backoff
2424

25+
CREATION_VERIFICATION_WINDOW_MINUTES = 2
26+
2527

2628
def test_create_delete(artifact_obj):
2729
# 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):
8183

8284

8385
def test_list_by_type(artifact_objs, sagemaker_session):
84-
slack = datetime.timedelta(minutes=1)
86+
slack = datetime.timedelta(minutes=CREATION_VERIFICATION_WINDOW_MINUTES)
8587
now = datetime.datetime.now(datetime.timezone.utc)
8688
expected_name = list(
8789
filter(lambda x: x.artifact_type == "SDKIntegrationTestType2", artifact_objs)

0 commit comments

Comments
 (0)