Skip to content

increase creation time slack minutes #3606

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/integ/sagemaker/lineage/test_artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
from sagemaker.lineage import artifact
from sagemaker.utils import retry_with_backoff

CREATION_VERIFICATION_WINDOW_MINUTES = 2


def test_create_delete(artifact_obj):
# fixture does create and then delete, this test ensures it happens at least once
Expand Down Expand Up @@ -81,7 +83,7 @@ def test_list(artifact_objs, sagemaker_session):


def test_list_by_type(artifact_objs, sagemaker_session):
slack = datetime.timedelta(minutes=1)
slack = datetime.timedelta(minutes=CREATION_VERIFICATION_WINDOW_MINUTES)
now = datetime.datetime.now(datetime.timezone.utc)
expected_name = list(
filter(lambda x: x.artifact_type == "SDKIntegrationTestType2", artifact_objs)
Expand Down