|
|
@ -35,7 +35,7 @@ func ensureABCIIsUp(typ string, n int) error { |
|
|
|
} |
|
|
|
|
|
|
|
for i := 0; i < n; i++ { |
|
|
|
cmd := exec.Command("bash", "-c", cmdString) |
|
|
|
cmd := exec.Command("bash", "-c", cmdString) // nolint: gas
|
|
|
|
_, err = cmd.CombinedOutput() |
|
|
|
if err == nil { |
|
|
|
break |
|
|
@ -52,7 +52,7 @@ func testCounter() { |
|
|
|
} |
|
|
|
|
|
|
|
fmt.Printf("Running %s test with abci=%s\n", abciApp, abciType) |
|
|
|
cmd := exec.Command("bash", "-c", fmt.Sprintf("abci-cli %s", abciApp)) |
|
|
|
cmd := exec.Command("bash", "-c", fmt.Sprintf("abci-cli %s", abciApp)) // nolint: gas
|
|
|
|
cmd.Stdout = os.Stdout |
|
|
|
if err := cmd.Start(); err != nil { |
|
|
|
log.Fatalf("starting %q err: %v", abciApp, err) |
|
|
|