mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-05-17 00:26:36 +03:00
Update tests to only print component output in integration tests if the test case is failing. An example of pipeline failure: https://github.com/VictoriaMetrics/VictoriaMetrics/actions/runs/16473633711/job/46569913168?pr=9491 --------- Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
10 lines
286 B
Go
10 lines
286 B
Go
package apptest
|
|
|
|
import "io"
|
|
|
|
// StartVmctl starts an instance of vmctl cli with the given flags
|
|
func StartVmctl(instance string, flags []string, output io.Writer) error {
|
|
_, _, err := startApp(instance, "../../bin/vmctl", flags, &appOptions{wait: true, output: output})
|
|
return err
|
|
}
|