Skip to content

Commit 79d7def

Browse files
committed
test(ci): relax docker signal wait
1 parent 68ec783 commit 79d7def

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/scripts/docker-build-helper.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ docker_build_run e2e-build -t demo-image .
439439
chmodSync(join(workDir, "runner.sh"), 0o755);
440440

441441
const waitForFile = async (filePath: string) => {
442-
for (let attempt = 0; attempt < 50; attempt += 1) {
442+
for (let attempt = 0; attempt < 100; attempt += 1) {
443443
if (existsSync(filePath)) {
444444
return;
445445
}
@@ -452,7 +452,7 @@ docker_build_run e2e-build -t demo-image .
452452
child.once("exit", (code, signal) => resolve({ code, signal }));
453453
});
454454
const waitForDead = async (pid: number) => {
455-
for (let attempt = 0; attempt < 50; attempt += 1) {
455+
for (let attempt = 0; attempt < 100; attempt += 1) {
456456
try {
457457
process.kill(pid, 0);
458458
} catch {

0 commit comments

Comments
 (0)