Skip to content

Commit

Permalink
add missing stop relayer to avoid log after test complete (#1229)
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Tieri <37750742+jtieri@users.noreply.github.com>
  • Loading branch information
mmsqe and jtieri committed Jul 5, 2023
1 parent 253a641 commit d0a4010
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions interchaintest/path_filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ func TestScenarioPathFilterAllow(t *testing.T) {
gaiaUser, osmosisUser := users[0].(*cosmos.CosmosWallet), users[1].(*cosmos.CosmosWallet)

r.StartRelayer(ctx, eRep, ibcPath)
t.Cleanup(
func() {
err := r.StopRelayer(ctx, eRep)
if err != nil {
t.Logf("an error occured while stopping the relayer: %s", err)
}
},
)

// Send Transaction
amountToSend := int64(1_000_000)
Expand Down Expand Up @@ -226,6 +234,14 @@ func TestScenarioPathFilterDeny(t *testing.T) {
gaiaUser, osmosisUser := users[0].(*cosmos.CosmosWallet), users[1].(*cosmos.CosmosWallet)

r.StartRelayer(ctx, eRep, ibcPath)
t.Cleanup(
func() {
err := r.StopRelayer(ctx, eRep)
if err != nil {
t.Logf("an error occured while stopping the relayer: %s", err)
}
},
)

// Send Transaction
amountToSend := int64(1_000_000)
Expand Down

0 comments on commit d0a4010

Please sign in to comment.