mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-08 11:02:26 +00:00
fix(test): keep Gemini CLI docker lane advisory
This commit is contained in:
@@ -713,6 +713,17 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("marks the aggregate Gemini CLI backend lane advisory for auth drift", () => {
|
||||
const plan = planFor({ selectedLaneNames: ["live-cli-backend-gemini"] });
|
||||
const lane = requireFirstLane(plan);
|
||||
|
||||
expect(lane.command).toContain("OPENCLAW_LIVE_CLI_BACKEND_ADVISORY=1");
|
||||
expect(lane.command).toContain("OPENCLAW_LIVE_CLI_BACKEND_ALLOW_PROVIDER_SKIP=1");
|
||||
expect(lane.command).toContain(
|
||||
"OPENCLAW_LIVE_CLI_BACKEND_MODEL=google-gemini-cli/gemini-3-flash-preview",
|
||||
);
|
||||
});
|
||||
|
||||
it("plans Codex harness Docker-all lanes for API-key Testbox auth", () => {
|
||||
for (const name of ["live-codex-harness", "live-codex-bind"]) {
|
||||
const plan = planFor({ selectedLaneNames: [name] });
|
||||
|
||||
@@ -32,6 +32,13 @@ describe("scripts/test-live-cli-backend-docker.sh", () => {
|
||||
expect(forwardedVars).toContain("OPENCLAW_TEST_CONSOLE");
|
||||
});
|
||||
|
||||
it("forwards advisory provider-skip controls into the Docker container", () => {
|
||||
const forwardedVars = readForwardedDockerEnvVars();
|
||||
|
||||
expect(forwardedVars).toContain("OPENCLAW_LIVE_CLI_BACKEND_ADVISORY");
|
||||
expect(forwardedVars).toContain("OPENCLAW_LIVE_CLI_BACKEND_ALLOW_PROVIDER_SKIP");
|
||||
});
|
||||
|
||||
it("rejects invalid setup timeout values before metadata or Docker setup", () => {
|
||||
const result = spawnSync("bash", [SCRIPT_PATH], {
|
||||
encoding: "utf8",
|
||||
|
||||
Reference in New Issue
Block a user