Skip to content

Commit 8ceb183

Browse files
committed
Remove sandbox forcefully
1 parent a87a800 commit 8ceb183

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/compass-smoke-tests/src/tests/auto-update-from.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export async function testAutoUpdateFrom(context: SmokeTestsContext) {
7676
debug(`Skipped cleaning up sandbox: ${sandboxPath}`);
7777
} else {
7878
debug(`Cleaning up sandbox: ${sandboxPath}`);
79-
fs.rmSync(sandboxPath, { recursive: true });
79+
fs.rmSync(sandboxPath, { recursive: true, force: true });
8080
}
8181
}
8282
}

packages/compass-smoke-tests/src/tests/auto-update-to.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export async function testAutoUpdateTo(context: SmokeTestsContext) {
106106
debug(`Skipped cleaning up sandbox: ${sandboxPath}`);
107107
} else {
108108
debug(`Cleaning up sandbox: ${sandboxPath}`);
109-
fs.rmSync(sandboxPath, { recursive: true });
109+
fs.rmSync(sandboxPath, { recursive: true, force: true });
110110
}
111111
}
112112
}

packages/compass-smoke-tests/src/tests/time-to-first-query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export async function testTimeToFirstQuery(context: SmokeTestsContext) {
5454
debug(`Skipped cleaning up sandbox: ${sandboxPath}`);
5555
} else {
5656
debug(`Cleaning up sandbox: ${sandboxPath}`);
57-
fs.rmSync(sandboxPath, { recursive: true });
57+
fs.rmSync(sandboxPath, { recursive: true, force: true });
5858
}
5959
}
6060
}

0 commit comments

Comments
 (0)