Skip to content

Commit 2072f51

Browse files
Update tests/utils/gossamer_utils.go
Co-authored-by: Eclésio Junior <[email protected]>
1 parent 318ed49 commit 2072f51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/utils/gossamer_utils.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ func startGossamer(t *testing.T, node *Node, websocket bool) error {
206206
const checkNodeStartedTimeout = time.Second
207207
checkNodeCtx, cancel := context.WithTimeout(ctx, checkNodeStartedTimeout)
208208

209-
err = checkNodeStarted(checkNodeCtx, t, "http://"+HOSTNAME+":"+node.RPCPort)
209+
addr := fmt.Sprintf("http://%s:%d", HOSTNAME, node.RPCPort)
210+
err = checkNodeStarted(checkNodeCtx, t, addr)
210211

211212
cancel()
212213

0 commit comments

Comments
 (0)