Skip to content

Commit

Permalink
add missing stop relayer to avoid log after test complete
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Jul 5, 2023
1 parent b4653dd commit 35fbaa6
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 35fbaa6

Please sign in to comment.