You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/05/16 07:37:47 UTC

[camel-k] branch release-1.10.x updated: Increase memory for builder spectrum knative test

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch release-1.10.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/release-1.10.x by this push:
     new 3dc94cecf Increase memory for builder spectrum knative test
3dc94cecf is described below

commit 3dc94cecf69944e8c8ed8f1ec4d32cf491aca96e
Author: Claudio Miranda <cl...@claudius.com.br>
AuthorDate: Mon May 15 15:36:29 2023 -0300

    Increase memory for builder spectrum knative test
    
    Also increase the available lines when dumping operator log to retrive
    more information for investigation
---
 e2e/global/builder/build_test.go | 2 +-
 e2e/support/util/dump.go         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/e2e/global/builder/build_test.go b/e2e/global/builder/build_test.go
index 743626715..b559d26c5 100644
--- a/e2e/global/builder/build_test.go
+++ b/e2e/global/builder/build_test.go
@@ -150,7 +150,7 @@ func TestKitTimerToLogFullBuild(t *testing.T) {
 }
 
 func TestKitKnativeFullBuild(t *testing.T) {
-	doKitFullBuild(t, "knative", "500Mi", "8m0s", TestTimeoutLong, kitOptions{
+	doKitFullBuild(t, "knative", "800Mi", "8m0s", TestTimeoutLong, kitOptions{
 		dependencies: []string{
 			"camel-k-knative",
 		},
diff --git a/e2e/support/util/dump.go b/e2e/support/util/dump.go
index 2a069c637..02031ee00 100644
--- a/e2e/support/util/dump.go
+++ b/e2e/support/util/dump.go
@@ -252,7 +252,7 @@ func dumpConditions(prefix string, conditions []corev1.PodCondition, t *testing.
 }
 
 func dumpLogs(ctx context.Context, c client.Client, prefix string, ns string, name string, container string, t *testing.T) error {
-	lines := int64(50)
+	lines := int64(250)
 	stream, err := c.CoreV1().Pods(ns).GetLogs(name, &corev1.PodLogOptions{
 		Container: container,
 		TailLines: &lines,