mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
integration test fixes
Signed-off-by: Jari Kolehmainen <jkolehmainen@mirantis.com>
This commit is contained in:
parent
7ca7e44287
commit
3b33ea853b
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user