Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 071f784

Browse files
committedFeb 11, 2024·
disabling this test from docker regression
1 parent e6654ec commit 071f784

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎test/pytest/test_model_custom_dependencies.py

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import pathlib
33
import subprocess
44

5+
import pytest
56
import requests
67
import test_utils
78
from model_archiver import ModelArchiver, ModelArchiverConfig
@@ -230,6 +231,10 @@ def test_disable_install_dependencies_to_target_directory_without_requirements()
230231
test_utils.delete_all_snapshots()
231232

232233

234+
@pytest.mark.skipif(
235+
os.environ.get("TS_RUN_IN_DOCKER", False),
236+
reason="Test to be run outside docker",
237+
)
233238
def test_install_dependencies_to_venv_with_requirements():
234239
# Torchserve cleanup
235240
test_utils.stop_torchserve()

0 commit comments

Comments
 (0)
Please sign in to comment.