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

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

commit e2ba120b998a0ee6b2fee161c291804a5e0316d8
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Fri Jan 14 17:30:15 2022 +0100

    fix(e2e): Assert downloads from repository with custom CA certificate
---
 e2e/common/build/maven_ca_secret_test.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/e2e/common/build/maven_ca_secret_test.go 
b/e2e/common/build/maven_ca_secret_test.go
index 2e6f35b..39e7a1e 100644
--- a/e2e/common/build/maven_ca_secret_test.go
+++ b/e2e/common/build/maven_ca_secret_test.go
@@ -424,6 +424,8 @@ ProxyPreserveHost On
                        "--maven-repository", 
fmt.Sprintf(`https://%s/repository/maven-public/@id=central-internal@mirrorOf=central`,
 hostname),
                        "--maven-repository", 
fmt.Sprintf(`https://%s/repository/%s/%s`, hostname, stagingRepository.ID, 
strings.Join(getRepositoryAttributes(stagingRepository), "")),
                        "--maven-ca-secret", secret.Name+"/"+corev1.TLSCertKey,
+                       // Active batch mode to assert dependencies download
+                       "--maven-cli-option", "--batch-mode",
                ).Execute()).To(Succeed())
 
                Eventually(PlatformPhase(ns), 
TestTimeoutMedium).Should(Equal(v1.IntegrationPlatformPhaseReady))

Reply via email to