2828from tests .integ .sagemaker .serve .constants import (
2929 PYTORCH_SQUEEZENET_RESOURCE_DIR ,
3030 SERVE_SAGEMAKER_ENDPOINT_TIMEOUT ,
31- PYTHON_VERSION_IS_310 ,
31+ PYTHON_VERSION_IS_NOT_310 ,
3232)
3333from tests .integ .timeout import timeout
3434from tests .integ .utils import cleanup_model_resources
@@ -149,12 +149,13 @@ def model_builder(request):
149149
150150
151151@pytest .mark .skipif (
152- PYTHON_VERSION_IS_310 ,
152+ PYTHON_VERSION_IS_NOT_310 ,
153153 reason = "The goal of these test are to test the serving components of our feature" ,
154154)
155155@pytest .mark .parametrize (
156156 "model_builder" , ["model_builder_inference_spec_schema_builder" ], indirect = True
157157)
158+ @pytest .mark .slow_test
158159def test_happy_pytorch_local_container (sagemaker_session , model_builder , test_image ):
159160 logger .info ("Running in LOCAL_CONTAINER mode..." )
160161 caught_ex = None
@@ -180,7 +181,7 @@ def test_happy_pytorch_local_container(sagemaker_session, model_builder, test_im
180181
181182
182183@pytest .mark .skipif (
183- PYTHON_VERSION_IS_310 , # or NOT_RUNNING_ON_INF_EXP_DEV_PIPELINE,
184+ PYTHON_VERSION_IS_NOT_310 , # or NOT_RUNNING_ON_INF_EXP_DEV_PIPELINE,
184185 reason = "The goal of these test are to test the serving components of our feature" ,
185186)
186187@pytest .mark .parametrize (
@@ -222,7 +223,7 @@ def test_happy_pytorch_sagemaker_endpoint(
222223
223224
224225# @pytest.mark.skipif(
225- # NOT_RUNNING_ON_INF_EXP_DEV_PIPELINE or PYTHON_VERSION_IS_310 ,
226+ # NOT_RUNNING_ON_INF_EXP_DEV_PIPELINE or PYTHON_VERSION_IS_NOT_310 ,
226227# reason="The goal of these test are to test the serving components of our feature",
227228# )
228229# @pytest.mark.parametrize(
@@ -268,7 +269,7 @@ def test_happy_pytorch_sagemaker_endpoint(
268269
269270
270271# @pytest.mark.skipif(
271- # NOT_RUNNING_ON_INF_EXP_DEV_PIPELINE or PYTHON_VERSION_IS_310 ,
272+ # NOT_RUNNING_ON_INF_EXP_DEV_PIPELINE or PYTHON_VERSION_IS_NOT_310 ,
272273# reason="The goal of these test are to test the serving components of our feature",
273274# )
274275# @pytest.mark.parametrize(
0 commit comments