Skip to content

Commit

Permalink
test: Improve stability of server shutdown test in L0_python_api::tes…
Browse files Browse the repository at this point in the history
…t_api::test_stop (#383)
  • Loading branch information
rmccorm4 authored Jul 25, 2024
1 parent d2abb8b commit a9048db
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/test/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
exit_on_error=True,
strict_model_config=False,
model_control_mode=tritonserver.ModelControlMode.EXPLICIT,
exit_timeout=10,
exit_timeout=30,
)


Expand Down Expand Up @@ -357,6 +357,11 @@ def test_stop(self):
{
"backend": "python",
"parameters": {"decoupled": {"string_value": "False"}},
# Keep instance count low for fast startup/cleanup.
# Alternatively can use KIND_CPU here, but keeping gpus/count explicit.
"instance_group": [
{"kind": "KIND_GPU", "gpus": [0], "count": 1}
],
}
)
},
Expand Down

0 comments on commit a9048db

Please sign in to comment.