From 3b33ea853bcca253b95fb92e21f0b586c7c0cbd4 Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Mon, 29 Jun 2020 17:17:59 +0000 Subject: [PATCH] integration test fixes Signed-off-by: Jari Kolehmainen --- integration/specs/app_spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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