diff --git a/integration/specs/app_spec.ts b/integration/specs/app_spec.ts index 402f85a613..311f7bb951 100644 --- a/integration/specs/app_spec.ts +++ b/integration/specs/app_spec.ts @@ -51,7 +51,7 @@ describe("app start", () => { }) it('allows to add a cluster', async () => { - const status = spawnSync("minikube status", {shell: true}) + const status = spawnSync("minikube status || sudo minikube status", {shell: true}) if (status.status !== 0) { console.warn("minikube not running, skipping test") return @@ -64,7 +64,7 @@ describe("app start", () => { }) it('allows to create a pod', async () => { - const status = spawnSync("minikube status", {shell: true}) + const status = spawnSync("minikube status || sudo minikube status", {shell: true}) if (status.status !== 0) { console.warn("minikube not running, skipping test") return