From f70ce6d8a83c4cbe33e5f24263c685ed9c3904ad Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Tue, 28 Apr 2026 16:22:31 +0200 Subject: [PATCH] Revert "return waitAllServices" This reverts commit 3434f55c782230095a6506b8228ffa633e0882d7. --- tests/ocwrapper/opencloud/opencloud.go | 17 ----------------- 1 file changed, 17 deletions(-) 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}, }