This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new c93a52007 Increase log lines to 150 when dumping pod logs in e2e tests
c93a52007 is described below
commit c93a520077b734d6edf552f2d7483ca54ecafa5e
Author: Claudio Miranda <[email protected]>
AuthorDate: Wed Jun 21 16:03:15 2023 -0300
Increase log lines to 150 when dumping pod logs in e2e tests
To facilitate analysis, there are situations when the last 50 lines is not
enough.
---
e2e/support/util/dump.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/e2e/support/util/dump.go b/e2e/support/util/dump.go
index 64741beb3..741cba2b7 100644
--- a/e2e/support/util/dump.go
+++ b/e2e/support/util/dump.go
@@ -317,7 +317,7 @@ func dumpLogs(ctx context.Context, c client.Client, prefix
string, ns string, na
if os.Getenv("CAMEL_K_TEST_LOG_LEVEL") != "debug" {
// If not in debug mode then curtail the dumping of log lines
- lines := int64(50)
+ lines := int64(150)
logOptions.TailLines = &lines
}