You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by cd...@apache.org on 2024/03/08 19:35:59 UTC

(camel-k) 06/10: chore(e2e): Skip cluster setup when installing Camel K operators in test namespaces

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

cdeppisch pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit fcd6f33e400fe708a8e73baa9335832ca20bfcc2
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Tue Mar 5 09:28:48 2024 +0100

    chore(e2e): Skip cluster setup when installing Camel K operators in test namespaces
---
 e2e/support/test_support.go | 4 ++--
 script/Makefile             | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go
index 3fac8750c..b5cabc7a1 100644
--- a/e2e/support/test_support.go
+++ b/e2e/support/test_support.go
@@ -277,10 +277,10 @@ func KamelInstallWithIDAndKameletCatalog(t *testing.T, operatorID string, namesp
 func kamelInstallWithContext(t *testing.T, ctx context.Context, operatorID string, namespace string, skipKameletCatalog bool, args ...string) *cobra.Command {
 	var installArgs []string
 
-	installArgs = []string{"install", "-n", namespace, "--operator-id", operatorID}
+	installArgs = []string{"install", "-n", namespace, "--operator-id", operatorID, "--skip-cluster-setup"}
 
 	if skipKameletCatalog {
-		installArgs = append(installArgs, "--operator-env-vars", "KAMEL_INSTALL_DEFAULT_KAMELETS=false")
+		installArgs = append(installArgs, "--skip-default-kamelets-setup")
 	}
 
 	logLevel := os.Getenv("CAMEL_K_TEST_LOG_LEVEL")
diff --git a/script/Makefile b/script/Makefile
index 68ed85910..79f5beccc 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -94,7 +94,7 @@ KAMELET_CATALOG_REPO_TAG := v4.0.1
 DO_TEST_PREBUILD ?= true
 TEST_PREBUILD = build
 # Tests may run in parallel to each other. This count sets the amount of tests run in parallel. (default value usually is GOMAXPROCS)
-TEST_COMMON_PARALLEL_COUNT ?= 2
+TEST_COMMON_PARALLEL_COUNT ?= 4
 TEST_ADVANCED_PARALLEL_COUNT ?= 4
 
 # OLM (Operator Lifecycle Manager and Operator Hub): uncomment to override operator settings at build time