diff --git a/tests/interchain/delegator/evidence_test.go b/tests/interchain/delegator/evidence_test.go index 520e0b01f77..58bedc836e8 100644 --- a/tests/interchain/delegator/evidence_test.go +++ b/tests/interchain/delegator/evidence_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/cosmos/gaia/v21/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v21/tests/interchain/delegator" + "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v22/tests/interchain/delegator" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/testutil" "github.com/stretchr/testify/suite" diff --git a/tests/interchain/delegator/gov_test.go b/tests/interchain/delegator/gov_test.go index a617f21fed8..116ea31c1c7 100644 --- a/tests/interchain/delegator/gov_test.go +++ b/tests/interchain/delegator/gov_test.go @@ -11,8 +11,8 @@ import ( "github.com/tidwall/gjson" "github.com/tidwall/sjson" - "github.com/cosmos/gaia/v21/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v21/tests/interchain/delegator" + "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v22/tests/interchain/delegator" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/ibc" ) diff --git a/tests/interchain/matrix_tool/main.go b/tests/interchain/matrix_tool/main.go index 92172ba3f50..ade3983dd96 100644 --- a/tests/interchain/matrix_tool/main.go +++ b/tests/interchain/matrix_tool/main.go @@ -4,6 +4,7 @@ package main import ( + "bytes" "context" "encoding/json" "fmt" @@ -96,9 +97,11 @@ func GetSemverForBranch() (string, error) { func GetTestList() ([]string, error) { retval := []string{} - out, err := exec.Command("go", "test", "-list=.", "./...").Output() + cmd := exec.Command("go", "test", "-list=.", "./...") + out, err := cmd.Output() if err != nil { - return nil, fmt.Errorf("go test -list failed: %w\n", err) + stderr := string(cmd.Stderr.(*bytes.Buffer).Bytes()) + return nil, fmt.Errorf("go test -list failed with %w : %s\n", err, stderr) } lines := strings.Split(string(out), "\n") for _, line := range lines {