Skip to content

Commit

Permalink
disable addr cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Jul 4, 2023
1 parent b4653dd commit 3b5afe3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions interchaintest/client_threshold_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"testing"

sdk "github.com/cosmos/cosmos-sdk/types"
relayerinterchaintest "github.com/cosmos/relayer/v2/interchaintest"
interchaintest "github.com/strangelove-ventures/interchaintest/v7"
"github.com/strangelove-ventures/interchaintest/v7/ibc"
Expand All @@ -24,6 +25,7 @@ const (
// Tests that the Relayer will update light clients within a
// user specified time threshold.
func TestScenarioClientThresholdUpdate(t *testing.T) {
sdk.SetAddrCacheEnabled(false)
t.Parallel()

ctx := context.Background()
Expand Down Expand Up @@ -144,6 +146,7 @@ func TestScenarioClientThresholdUpdate(t *testing.T) {
// Tests that without the threshold flag, the clients will be updated
// automatically due to passing 2/3 trusting period expiration.
func TestScenarioClientTrustingPeriodUpdate(t *testing.T) {
sdk.SetAddrCacheEnabled(false)
t.Parallel()

ctx := context.Background()
Expand Down
2 changes: 2 additions & 0 deletions interchaintest/fee_middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"testing"

sdk "github.com/cosmos/cosmos-sdk/types"
transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types"
relayertest "github.com/cosmos/relayer/v2/interchaintest"
interchaintest "github.com/strangelove-ventures/interchaintest/v7"
Expand All @@ -17,6 +18,7 @@ import (
)

func TestScenarioFeeMiddleware(t *testing.T) {
sdk.SetAddrCacheEnabled(false)
if testing.Short() {
t.Skip()
}
Expand Down
1 change: 1 addition & 0 deletions interchaintest/misbehaviour_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import (
)

func TestScenarioMisbehaviourDetection(t *testing.T) {
sdk.SetAddrCacheEnabled(false)
if testing.Short() {
t.Skip()
}
Expand Down

0 comments on commit 3b5afe3

Please sign in to comment.