From ebc438f39d43a35c20a60592c373223a5caa0ca6 Mon Sep 17 00:00:00 2001 From: "Hantao (Will) Wang" Date: Wed, 10 Jul 2019 10:37:56 -0700 Subject: [PATCH] increase wait time until driver is deployed, build ginkgo --- test/k8s-integration/driver.go | 2 +- test/k8s-integration/main.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/test/k8s-integration/driver.go b/test/k8s-integration/driver.go index 72a458c48..28ac51186 100644 --- a/test/k8s-integration/driver.go +++ b/test/k8s-integration/driver.go @@ -64,7 +64,7 @@ func installDriver(goPath, pkgDir, stagingImage, stagingVersion, deployOverlayNa } // TODO (#139): wait for driver to be running - time.Sleep(10 * time.Second) + time.Sleep(time.Minute) statusCmd := exec.Command("kubectl", "describe", "pods", "-n", "default") err = runCommand("Checking driver pods", statusCmd) if err != nil { diff --git a/test/k8s-integration/main.go b/test/k8s-integration/main.go index 4c73b29c0..ad83dfd14 100644 --- a/test/k8s-integration/main.go +++ b/test/k8s-integration/main.go @@ -210,6 +210,10 @@ func handle() error { if err != nil { return fmt.Errorf("failed to build Kubernetes: %v", err) } + err = buildKubernetes(testDir, "ginkgo") + if err != nil { + return fmt.Errorf("failed to build Gingko: %v", err) + } } else { testDir = k8sDir }