Skip to content

Commit

Permalink
fix: cleaning up test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
distractedm1nd committed Nov 9, 2022
1 parent d642adb commit c80c216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/rpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ func TestRPCCallsUnderlyingNode(t *testing.T) {
time.Sleep(time.Second * 1)
rpcClient, err = client.NewClient(ctx, "http://"+url)
if err == nil {
t.Cleanup(rpcClient.Close)
break
}
}
require.NotNil(t, rpcClient)
require.NoError(t, err)
t.Cleanup(rpcClient.Close)

expectedBalance := &state.Balance{
Amount: sdk.NewInt(100),
Expand Down

0 comments on commit c80c216

Please sign in to comment.