浏览代码

fix: test-sleep runs forever (tail -f /dev/null) for lifecycle testing

Replaced sleep 180 with tail -f /dev/null so the container
stays running until explicitly stopped. Added hostname echo
for log verification.
Alexander Korolev 4 月之前
父节点
当前提交
ff9a8c6c8c
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
  1. 2 2
      recipes/test-sleep/recipe.toml

+ 2 - 2
recipes/test-sleep/recipe.toml

@@ -1,10 +1,10 @@
 engine = "vllm"
-name = "Test Sleep 3min"
+name = "Test Idle Container"
 docker_image = "alpine:latest"
 model = "noop"
 port = 8000
 
-entrypoint = ["sh", "-c", "'echo started && sleep 180 && echo completed'"]
+entrypoint = ["sh", "-c", "'echo \"[$(hostname)] test-idle ready\" && tail -f /dev/null'"]
 
 args = []