test(ci): allow Windows shell startup in rollback simulation
This commit is contained in:
1 parent
b5dcadb67b
commit
251738fdda
1 file changed
+2
-1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user