diff --git a/tests/ocwrapper/opencloud/opencloud.go b/tests/ocwrapper/opencloud/opencloud.go index 6b5d22fcb..fcd822c49 100644 --- a/tests/ocwrapper/opencloud/opencloud.go +++ b/tests/ocwrapper/opencloud/opencloud.go @@ -153,24 +153,7 @@ func IsOpencloudRunning() bool { return false } -func waitAllServices(startTime time.Time, timeout time.Duration) { - timeoutS := timeout * time.Second - - c := exec.Command(config.Get("bin"), "list") - _, err := c.CombinedOutput() - if err != nil { - if time.Since(startTime) <= timeoutS { - time.Sleep(500 * time.Millisecond) - waitAllServices(startTime, timeout) - } - return - } - log.Println("All services are up") -} - func WaitForConnection() (bool, string) { - waitAllServices(time.Now(), 30) - transport := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, }