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")], {
|
const result = spawnSync(bash, [resolve(root, "scripts/ci-deploy.sh")], {
|
||||||
cwd: dir,
|
cwd: dir,
|
||||||
encoding: "utf8",
|
encoding: "utf8",
|
||||||
timeout: 15000,
|
timeout: 25000,
|
||||||
env: {
|
env: {
|
||||||
...process.env,
|
...process.env,
|
||||||
BASH_ENV: resolve(root, "src/test/ci-deploy-harness.sh"),
|
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`,
|
`docker tag epicnext-cms:${sha} epicnext-cms:latest`,
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
30000,
|
||||||
);
|
);
|
||||||
it("restores the legacy compose container on failure", () => {
|
it("restores the legacy compose container on failure", () => {
|
||||||
const result = simulate("smoke-failure", "epicnext-cms");
|
const result = simulate("smoke-failure", "epicnext-cms");
|
||||||
|
|||||||
Reference in new issue
Block a user