test(docker): isolate installer smoke sessions

This commit is contained in:
Peter Steinberger
2026-04-27 04:01:42 +01:00
parent 9bd4200f3c
commit cbbd860ef9
2 changed files with 41 additions and 14 deletions

View File

@@ -77,4 +77,13 @@ describe("docker build helper", () => {
runner.indexOf('echo "==> Agent turns ($profile)"'),
);
});
it("keeps installer E2E tool smokes in isolated sessions", () => {
const runner = readFileSync(INSTALL_E2E_RUNNER_PATH, "utf8");
expect(runner).toContain('SESSION_ID_PREFIX="e2e-tools-${profile}"');
expect(runner).toContain('TURN1_SESSION_ID="${SESSION_ID_PREFIX}-read-proof"');
expect(runner).toContain('TURN3_SESSION_ID="${SESSION_ID_PREFIX}-exec-hostname"');
expect(runner).toContain('TURN4_SESSION_ID="${SESSION_ID_PREFIX}-image-write"');
});
});