Skip to content

Commit

Permalink
Fix path for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Arief Rahmansyah committed Jan 15, 2024
1 parent 412bf20 commit 419ef18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/pyfunc-server/test/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ def _get_local_endpoint(model_full_name, port):

@pytest.mark.local_server_test
def test_examples_iris():
XGB_PATH = os.path.join("examples/iris/models/", "model_1.bst")
SKLEARN_PATH = os.path.join("examples/iris/models/", "model_2.joblib")
XGB_PATH = os.path.join("examples/iris_http/models/", "model_1.bst")
SKLEARN_PATH = os.path.join("examples/iris_http/models/", "model_2.joblib")

port = _get_free_port()

p = Process(
target=merlin.run_pyfunc_model,
kwargs={
"model_instance": IrisModel(),
"conda_env": "examples/iris/env.yaml",
"conda_env": "examples/iris_http/env.yaml",
"code_dir": ["examples"],
"artifacts": {
"xgb_model": XGB_PATH,
Expand Down

0 comments on commit 419ef18

Please sign in to comment.