diff --git a/test/integration/helpers.go b/test/integration/helpers.go index 7c3688bac3..3f0aaf94d2 100644 --- a/test/integration/helpers.go +++ b/test/integration/helpers.go @@ -177,7 +177,7 @@ func CleanupWithLogs(t *testing.T, profile string, cancel context.CancelFunc) { t.Helper() if t.Failed() && *postMortemLogs { t.Logf("%s failed, collecting logs ...", t.Name()) - rr, err := Run(t, exec.Command(Target(), "-p", profile, "logs", "-n", "100")) + rr, err := Run(t, exec.Command(Target(), "-p", profile, "logs", "--problems")) if err != nil { t.Logf("failed logs error: %v", err) }