test(ci): allow Windows shell startup in rollback simulation

This commit is contained in:
Simo committed 2026-09-06 11:54:42 +02:00
1 parent b5dcadb67b
commit 251738fdda
1 file changed
+2 -1
+2 -1
View File
@@ -33,7 +33,7 @@ function simulate(scenario: string, previous = "epicnext-cms-app") {
const result = spawnSync(bash, [resolve(root, "scripts/ci-deploy.sh")], {
cwd: dir,
encoding: "utf8",
timeout: 15000,
timeout: 25000,
env: {
...process.env,
BASH_ENV: resolve(root, "src/test/ci-deploy-harness.sh"),
@@ -91,6 +91,7 @@ describe("deployment transaction", () => {
`docker tag epicnext-cms:${sha} epicnext-cms:latest`,
);
},
30000,
);
it("restores the legacy compose container on failure", () => {
const result = simulate("smoke-failure", "epicnext-cms");