From ac236a80f8f6472e33bcd8a3c11fdce2a62e6d8d Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Arango Gutierrez Date: Fri, 7 Feb 2025 12:00:17 +0100 Subject: [PATCH] [no-relnote] fix host and port string generation for remote E2E Signed-off-by: Carlos Eduardo Arango Gutierrez --- tests/e2e/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/runner.go b/tests/e2e/runner.go index 29b51d2e..e1a75d26 100644 --- a/tests/e2e/runner.go +++ b/tests/e2e/runner.go @@ -153,7 +153,7 @@ func connectOrDie(sshKey, sshUser, host, port string) (*ssh.Client, error) { connectionFailed := false for i := 0; i < 20; i++ { - client, err = ssh.Dial("tcp", host+port, sshConfig) + client, err = ssh.Dial("tcp", host+":"+port, sshConfig) if err == nil { return client, nil // Connection succeeded, return the client. }