mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 04:21:24 +00:00
test: relax node connect challenge timeout in approval suite
This commit is contained in:
@@ -168,7 +168,9 @@ describe("node.invoke approval bypass", () => {
|
|||||||
|
|
||||||
const client = new GatewayClient({
|
const client = new GatewayClient({
|
||||||
url: `ws://127.0.0.1:${port}`,
|
url: `ws://127.0.0.1:${port}`,
|
||||||
connectDelayMs: 0,
|
// Keep challenge timeout realistic in tests; 0 maps to a 250ms timeout and can
|
||||||
|
// trigger reconnect backoff loops under load.
|
||||||
|
connectDelayMs: 2_000,
|
||||||
token: "secret",
|
token: "secret",
|
||||||
role: "node",
|
role: "node",
|
||||||
clientName: GATEWAY_CLIENT_NAMES.NODE_HOST,
|
clientName: GATEWAY_CLIENT_NAMES.NODE_HOST,
|
||||||
|
|||||||
Reference in New Issue
Block a user