Skip to content

Commit ac236a8

Browse files
[no-relnote] fix host and port string generation for remote E2E
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
1 parent b69d98d commit ac236a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func connectOrDie(sshKey, sshUser, host, port string) (*ssh.Client, error) {
153153

154154
connectionFailed := false
155155
for i := 0; i < 20; i++ {
156-
client, err = ssh.Dial("tcp", host+port, sshConfig)
156+
client, err = ssh.Dial("tcp", host+":"+port, sshConfig)
157157
if err == nil {
158158
return client, nil // Connection succeeded, return the client.
159159
}

0 commit comments

Comments
 (0)