mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-30 03:58:49 +00:00
test: stabilize release validation test harnesses
This commit is contained in:
@@ -525,7 +525,7 @@ describe("package artifact reuse", () => {
|
||||
expect(workflow).toContain("suite_id: live-gateway-anthropic-docker");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_GATEWAY_MAX_MODELS=2");
|
||||
expect(workflow).toContain(
|
||||
"OPENCLAW_LIVE_GATEWAY_PROVIDERS=openai OPENCLAW_LIVE_GATEWAY_MODELS=openai/gpt-5.5 OPENCLAW_LIVE_GATEWAY_MAX_MODELS=1",
|
||||
"OPENCLAW_LIVE_GATEWAY_THINKING=low OPENCLAW_LIVE_GATEWAY_PROVIDERS=openai OPENCLAW_LIVE_GATEWAY_MODELS=openai/gpt-5.5 OPENCLAW_LIVE_GATEWAY_MAX_MODELS=1 OPENCLAW_LIVE_GATEWAY_STEP_TIMEOUT_MS=90000 OPENCLAW_LIVE_GATEWAY_MODEL_TIMEOUT_MS=600000",
|
||||
);
|
||||
expect(workflow).toContain("timeout --foreground --kill-after=30s 35m");
|
||||
expect(workflow).toMatch(/suite_id: live-gateway-docker[\s\S]*?timeout_minutes: 40/u);
|
||||
@@ -582,6 +582,7 @@ describe("package artifact reuse", () => {
|
||||
const scenarios = readFileSync("scripts/lib/docker-e2e-scenarios.mjs", "utf8");
|
||||
const scheduler = readFileSync("scripts/test-docker-all.mjs", "utf8");
|
||||
const harness = readFileSync("scripts/test-live-codex-harness-docker.sh", "utf8");
|
||||
const liveDockerAuth = readFileSync("scripts/lib/live-docker-auth.sh", "utf8");
|
||||
const sharedLiveScripts = [
|
||||
readFileSync("scripts/test-live-models-docker.sh", "utf8"),
|
||||
readFileSync("scripts/test-live-gateway-models-docker.sh", "utf8"),
|
||||
@@ -596,7 +597,7 @@ describe("package artifact reuse", () => {
|
||||
'run: OPENCLAW_LIVE_DOCKER_REPO_ROOT="$GITHUB_WORKSPACE" timeout --foreground --kill-after=30s 35m bash .release-harness/scripts/test-live-models-docker.sh',
|
||||
);
|
||||
expect(workflow).toContain(
|
||||
"command: OPENCLAW_LIVE_GATEWAY_PROVIDERS=openai OPENCLAW_LIVE_GATEWAY_MODELS=openai/gpt-5.5 OPENCLAW_LIVE_GATEWAY_MAX_MODELS=1",
|
||||
"command: OPENCLAW_LIVE_GATEWAY_THINKING=low OPENCLAW_LIVE_GATEWAY_PROVIDERS=openai OPENCLAW_LIVE_GATEWAY_MODELS=openai/gpt-5.5 OPENCLAW_LIVE_GATEWAY_MAX_MODELS=1",
|
||||
);
|
||||
expect(workflow).toContain(
|
||||
'command: OPENCLAW_LIVE_DOCKER_REPO_ROOT="$GITHUB_WORKSPACE" timeout --foreground --kill-after=30s 45m bash .release-harness/scripts/test-live-cli-backend-docker.sh',
|
||||
@@ -627,6 +628,7 @@ describe("package artifact reuse", () => {
|
||||
);
|
||||
expect(scheduler).toContain("function liveDockerHarnessScriptCommand");
|
||||
expect(scheduler).toContain('liveDockerHarnessScriptCommand("test-live-build-docker.sh")');
|
||||
expect(liveDockerAuth).toContain("codex-cli | openai | openai-codex)");
|
||||
expect(harness).toContain('source "$TRUSTED_HARNESS_DIR/scripts/lib/live-docker-auth.sh"');
|
||||
expect(harness).not.toContain('source "$ROOT_DIR/scripts/lib/live-docker-auth.sh"');
|
||||
expect(harness).toContain(
|
||||
|
||||
Reference in New Issue
Block a user