Skip to content

Commit 2aa4b3d

Browse files
committed
guard for ns to be max 63 chars
1 parent 96b2a43 commit 2aa4b3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tests/model_serving/model_server/llmd

tests/model_serving/model_server/llmd/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def ns_from_file(file: str) -> str:
2828
2929
Example: __file__ of test_llmd_smoke.py → "llmd-smoke"
3030
"""
31-
return Path(file).stem.removeprefix("test_").replace("_", "-")
31+
return Path(file).stem.removeprefix("test_").replace("_", "-")[:63]
3232

3333

3434
def wait_for_llmisvc(llmisvc: LLMInferenceService, timeout: int = Timeout.TIMEOUT_5MIN) -> None:

0 commit comments

Comments
 (0)