test: stabilize gateway sigterm startup

main
Peter Steinberger 2025-12-20 18:29:46 +01:00
parent ea5333e5f7
commit 8ec0d813c0
1 changed files with 4 additions and 0 deletions

View File

@ -86,6 +86,8 @@ describe("gateway SIGTERM", () => {
"gateway", "gateway",
"--port", "--port",
String(port), String(port),
"--bind",
"loopback",
"--allow-unconfigured", "--allow-unconfigured",
], ],
{ {
@ -93,6 +95,8 @@ describe("gateway SIGTERM", () => {
env: { env: {
...process.env, ...process.env,
CLAWDIS_SKIP_PROVIDERS: "1", CLAWDIS_SKIP_PROVIDERS: "1",
CLAWDIS_SKIP_BROWSER_CONTROL_SERVER: "1",
CLAWDIS_SKIP_CANVAS_HOST: "1",
// Avoid port collisions with other test processes that may also start a bridge server. // Avoid port collisions with other test processes that may also start a bridge server.
CLAWDIS_BRIDGE_HOST: "127.0.0.1", CLAWDIS_BRIDGE_HOST: "127.0.0.1",
CLAWDIS_BRIDGE_PORT: "0", CLAWDIS_BRIDGE_PORT: "0",