fix(repo): ignore failed daemon reset on e2e tests (#16902)
This commit is contained in:
parent
ec22b7e540
commit
6aac7ba04b
@ -509,11 +509,13 @@ export function cleanupProject({
|
|||||||
}: RunCmdOpts & { skipReset?: boolean } = {}) {
|
}: RunCmdOpts & { skipReset?: boolean } = {}) {
|
||||||
if (isCI) {
|
if (isCI) {
|
||||||
// Stopping the daemon is not required for tests to pass, but it cleans up background processes
|
// Stopping the daemon is not required for tests to pass, but it cleans up background processes
|
||||||
|
try {
|
||||||
if (!skipReset) {
|
if (!skipReset) {
|
||||||
runCLI('reset', opts);
|
runCLI('reset', opts);
|
||||||
}
|
}
|
||||||
|
} catch {} // ignore crashed daemon
|
||||||
try {
|
try {
|
||||||
removeSync(tmpProjPath());
|
removeSync(tmpProjPath());
|
||||||
} catch (e) {}
|
} catch {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user