28
28
from tests .integ .sagemaker .serve .constants import (
29
29
PYTORCH_SQUEEZENET_RESOURCE_DIR ,
30
30
SERVE_SAGEMAKER_ENDPOINT_TIMEOUT ,
31
- PYTHON_VERSION_IS_310 ,
31
+ PYTHON_VERSION_IS_NOT_310 ,
32
32
)
33
33
from tests .integ .timeout import timeout
34
34
from tests .integ .utils import cleanup_model_resources
@@ -149,12 +149,13 @@ def model_builder(request):
149
149
150
150
151
151
@pytest .mark .skipif (
152
- PYTHON_VERSION_IS_310 ,
152
+ PYTHON_VERSION_IS_NOT_310 ,
153
153
reason = "The goal of these test are to test the serving components of our feature" ,
154
154
)
155
155
@pytest .mark .parametrize (
156
156
"model_builder" , ["model_builder_inference_spec_schema_builder" ], indirect = True
157
157
)
158
+ @pytest .mark .slow_test
158
159
def test_happy_pytorch_local_container (sagemaker_session , model_builder , test_image ):
159
160
logger .info ("Running in LOCAL_CONTAINER mode..." )
160
161
caught_ex = None
@@ -180,7 +181,7 @@ def test_happy_pytorch_local_container(sagemaker_session, model_builder, test_im
180
181
181
182
182
183
@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,
184
185
reason = "The goal of these test are to test the serving components of our feature" ,
185
186
)
186
187
@pytest .mark .parametrize (
@@ -222,7 +223,7 @@ def test_happy_pytorch_sagemaker_endpoint(
222
223
223
224
224
225
# @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 ,
226
227
# reason="The goal of these test are to test the serving components of our feature",
227
228
# )
228
229
# @pytest.mark.parametrize(
@@ -268,7 +269,7 @@ def test_happy_pytorch_sagemaker_endpoint(
268
269
269
270
270
271
# @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 ,
272
273
# reason="The goal of these test are to test the serving components of our feature",
273
274
# )
274
275
# @pytest.mark.parametrize(
0 commit comments