mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-23 21:51:15 +00:00
test(codex): stress resume across gateway restarts (#110486)
This commit is contained in:
committed by
GitHub
parent
4186691885
commit
b5fb47e283
@@ -95,6 +95,23 @@ describe("scripts/test-live-codex-harness-docker.sh", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("forwards bounded resume stress controls into Docker", () => {
|
||||
const script = fs.readFileSync(SCRIPT_PATH, "utf8");
|
||||
|
||||
expect(script).toContain(
|
||||
'-e OPENCLAW_LIVE_CODEX_HARNESS_RESUME_STRESS="${OPENCLAW_LIVE_CODEX_HARNESS_RESUME_STRESS:-0}"',
|
||||
);
|
||||
expect(script).toContain(
|
||||
'-e OPENCLAW_LIVE_CODEX_HARNESS_EXPECTED_EFFORT="${OPENCLAW_LIVE_CODEX_HARNESS_EXPECTED_EFFORT:-}"',
|
||||
);
|
||||
expect(script).toContain(
|
||||
'-e OPENCLAW_LIVE_CODEX_HARNESS_RESUME_STRESS_HISTORY_TURNS="${OPENCLAW_LIVE_CODEX_HARNESS_RESUME_STRESS_HISTORY_TURNS:-4}"',
|
||||
);
|
||||
expect(script).toContain(
|
||||
'-e OPENCLAW_LIVE_CODEX_HARNESS_RESUME_STRESS_RESTARTS="${OPENCLAW_LIVE_CODEX_HARNESS_RESUME_STRESS_RESTARTS:-3}"',
|
||||
);
|
||||
});
|
||||
|
||||
it("installs the plugin-pinned Codex CLI package for app-server proof", () => {
|
||||
const script = fs.readFileSync(SCRIPT_PATH, "utf8");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user