From e809141c6a583c999ccb85d847104f96d9aaa055 Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Mon, 29 Jun 2020 17:34:26 +0000 Subject: [PATCH] integration test fixes Signed-off-by: Jari Kolehmainen --- .azure-pipelines.yml | 1 + integration/specs/app_spec.ts | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 74cde42f85..68ced39d7d 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -128,6 +128,7 @@ jobs: sudo apt-get install libgconf-2-4 conntrack -y curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 sudo install minikube-linux-amd64 /usr/local/bin/minikube + export CHANGE_MINIKUBE_NONE_USER=true sudo minikube start --driver=none displayName: Install integration test dependencies - script: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' make integration-linux diff --git a/integration/specs/app_spec.ts b/integration/specs/app_spec.ts index 311f7bb951..79f867b53a 100644 --- a/integration/specs/app_spec.ts +++ b/integration/specs/app_spec.ts @@ -40,7 +40,6 @@ describe("app start", () => { let windowCount = await app.client.getWindowCount() while (windowCount > 1) { windowCount = await app.client.getWindowCount() - console.log(windowCount) } await app.client.windowByIndex(windowCount - 1) await app.client.waitUntilWindowLoaded() @@ -51,7 +50,7 @@ describe("app start", () => { }) it('allows to add a cluster', async () => { - const status = spawnSync("minikube status || sudo minikube status", {shell: true}) + const status = spawnSync("minikube status", {shell: true}) if (status.status !== 0) { console.warn("minikube not running, skipping test") return @@ -64,7 +63,7 @@ describe("app start", () => { }) it('allows to create a pod', async () => { - const status = spawnSync("minikube status || sudo minikube status", {shell: true}) + const status = spawnSync("minikube status", {shell: true}) if (status.status !== 0) { console.warn("minikube not running, skipping test") return