chore: setup systemtests in CI (#23886)

Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
This commit is contained in:
Alex | Interchain Labs
2025-03-06 10:44:55 -05:00
committed by GitHub
co-authored by Tyler
parent 6da7508765
commit 2076e2fc86
6 changed files with 121 additions and 72 deletions
+2 -2
View File
@@ -569,7 +569,7 @@ func (s *SystemUnderTest) ForEachNodeExecAndWait(t *testing.T, cmds ...[]string)
func MustRunShellCmd(t *testing.T, cmd string, args ...string) string {
t.Helper()
out, err := RunShellCmd(cmd, args...)
require.NoError(t, err)
require.NoError(t, err, out)
return out
}
@@ -579,7 +579,7 @@ func RunShellCmd(cmd string, args ...string) (string, error) {
args...,
)
c.Dir = WorkDir
out, err := c.Output()
out, err := c.CombinedOutput()
if err != nil {
return string(out), fmt.Errorf("run `%s %s`: out: %s: %w", cmd, strings.Join(args, " "), string(out), err)
}