Skip to content

Commit ba2ada3

Browse files
authored
Merge pull request #336 from hantaowang/increase-driver-wait-time
increase wait time until driver is deployed and build ginkgo
2 parents 1b80322 + ebc438f commit ba2ada3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/k8s-integration/driver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func installDriver(goPath, pkgDir, stagingImage, stagingVersion, deployOverlayNa
6464
}
6565

6666
// TODO (#139): wait for driver to be running
67-
time.Sleep(10 * time.Second)
67+
time.Sleep(time.Minute)
6868
statusCmd := exec.Command("kubectl", "describe", "pods", "-n", "default")
6969
err = runCommand("Checking driver pods", statusCmd)
7070
if err != nil {

test/k8s-integration/main.go

+4
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@ func handle() error {
210210
if err != nil {
211211
return fmt.Errorf("failed to build Kubernetes: %v", err)
212212
}
213+
err = buildKubernetes(testDir, "ginkgo")
214+
if err != nil {
215+
return fmt.Errorf("failed to build Gingko: %v", err)
216+
}
213217
} else {
214218
testDir = k8sDir
215219
}

0 commit comments

Comments
 (0)