Skip to content
Snippets Groups Projects
Commit 8a3e57f2 authored by Fabian Seidl's avatar Fabian Seidl
Browse files

add more delay for reconnect tries

parent b86868ea
No related branches found
No related tags found
1 merge request!839Attempt to solve http server unit test fails
Pipeline #189125 failed
......@@ -64,7 +64,7 @@ func waitForHTTPServer() error {
for i := 0; i < 10; i++ {
conn, err := net.DialTimeout("tcp", ":8080", 1*time.Second)
if err != nil {
time.Sleep(50 * time.Millisecond)
time.Sleep(2 * time.Second)
continue
}
err = conn.Close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment