Skip to content

Commit 0fc2996

Browse files
committed
fix(e2e): provide crestodian rescue gateway token
1 parent 694f5ac commit 0fc2996

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/e2e/crestodian-rescue-docker.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ set +e
2424
docker_e2e_run_with_harness \
2525
--name "$CONTAINER_NAME" \
2626
-e "OPENCLAW_TEST_STATE_SCRIPT_B64=$OPENCLAW_TEST_STATE_SCRIPT_B64" \
27+
-e "OPENCLAW_GATEWAY_TOKEN=crestodian-rescue-token" \
2728
"$IMAGE_NAME" \
2829
bash -lc "set -euo pipefail
2930
source scripts/lib/openclaw-e2e-instance.sh

test/scripts/docker-e2e-crestodian.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ describe("Crestodian Docker E2E scripts", () => {
3737
});
3838

3939
it("keeps rescue checks wired through auto-reply command handling", () => {
40+
const shell = readScript("scripts/e2e/crestodian-rescue-docker.sh");
4041
const source = readScript("scripts/e2e/crestodian-rescue-docker-client.ts");
4142

43+
expect(shell).toContain("OPENCLAW_GATEWAY_TOKEN=crestodian-rescue-token");
4244
expect(source).toContain("../../dist/auto-reply/reply/commands-crestodian.js");
4345
expect(source).toContain("../../dist/crestodian/rescue-message.js");
4446
expect(source).toContain("handleCrestodianCommand(");

0 commit comments

Comments
 (0)