Skip to content

Commit

Permalink
fix(ci): Bump interchaintest packages to v22 (#3466)
Browse files Browse the repository at this point in the history
  • Loading branch information
fastfadingviolets authored Jan 6, 2025
1 parent 0185348 commit 1b5664b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/interchain/delegator/evidence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions tests/interchain/delegator/gov_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
7 changes: 5 additions & 2 deletions tests/interchain/matrix_tool/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package main

import (
"bytes"
"context"
"encoding/json"
"fmt"
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 1b5664b

Please sign in to comment.