integration test fixes

Signed-off-by: Jari Kolehmainen <jkolehmainen@mirantis.com>
This commit is contained in:
Jari Kolehmainen committed 2020-06-29 17:17:59 +00:00
1 parent 7ca7e44287
commit 3b33ea853b
1 file changed
+2 -2
+2 -2
View File
@@ -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