Skip to content

Commit

Permalink
Update tests/utils/gossamer_utils.go
Browse files Browse the repository at this point in the history
Co-authored-by: Eclésio Junior <eclesiomelo.1@gmail.com>
  • Loading branch information
qdm12 and EclesioMeloJunior committed Mar 30, 2022
1 parent 318ed49 commit 13fcf3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/utils/gossamer_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ func startGossamer(t *testing.T, node *Node, websocket bool) error {
const checkNodeStartedTimeout = time.Second
checkNodeCtx, cancel := context.WithTimeout(ctx, checkNodeStartedTimeout)

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

cancel()

Expand Down

0 comments on commit 13fcf3e

Please sign in to comment.