diff --git a/tests/pools.sh b/tests/pools.sh index 0a3c762..c0e73fd 100644 --- a/tests/pools.sh +++ b/tests/pools.sh @@ -6,12 +6,13 @@ echo "== 20. Pools und einzeilige Endpunkt-Blöcke ==" # 1. Einzeiliger Block: alles in einer Zeile, keine Klammerzeile nötig. cat > "$TMP/inline.conf" < "$TMP/inline.log" 2>&1 & PIDS+=($!) -wait_port $((PORT+31)) 10 +wait_port $((PORT+31)) 30 R=$(curl -s -m 10 -X POST -H 'Content-Type: application/json' \ -d '{"model":"x","messages":[{"role":"user","content":"hi"}]}' \ "http://127.0.0.1:$((PORT+31))/v1/chat/completions") @@ -23,6 +24,7 @@ grep -q 'endpoint kurz: block not closed' "$TMP/inline.log" && \ # 2. Pool: eine Kette bekommt einen Namen, die Regel benutzt ihn. cat > "$TMP/pool.conf" < "$TMP/pool2.conf" < "$TMP/poolbad.conf" <