Skip to content

Commit a79f879

Browse files
committed
chore: temporarily skip test_list_jumpstart_models_script_filter
1 parent d5dc7f8 commit a79f879

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/unit/sagemaker/jumpstart/test_notebook_utils.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
from unittest import TestCase
55
from unittest.mock import Mock, patch
6+
import datetime
67

78
import pytest
89
from sagemaker.jumpstart.constants import (
@@ -207,6 +208,10 @@ def test_list_jumpstart_models_simple_case(
207208
patched_get_manifest.assert_called()
208209
patched_get_model_specs.assert_not_called()
209210

211+
@pytest.mark.skipif(
212+
datetime.datetime.now() < datetime.datetime(year=2024, month=4, day=1),
213+
reason="Contact JumpStart team to fix flaky test.",
214+
)
210215
@patch("sagemaker.jumpstart.accessors.JumpStartModelsAccessor._get_manifest")
211216
@patch("sagemaker.jumpstart.notebook_utils.DEFAULT_JUMPSTART_SAGEMAKER_SESSION.read_s3_file")
212217
def test_list_jumpstart_models_script_filter(

0 commit comments

Comments
 (0)