You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2024/01/12 09:44:11 UTC

(camel) branch main updated: Fix main IntegrationRunTest (#12768)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 0b93a3bf45c Fix main IntegrationRunTest (#12768)
0b93a3bf45c is described below

commit 0b93a3bf45c51b9f5fcac3d6ce9b1363a08d2fd0
Author: Aurélien Pupier <ap...@redhat.com>
AuthorDate: Fri Jan 12 10:44:05 2024 +0100

    Fix main IntegrationRunTest (#12768)
    
    The value of the enum must not be fully uppercase anymore, even though
    it is then written with full uppercase in the resulting yaml.
    I guess it is the result of upgrade from kubernetes client java 6.9.2 to
    6.10.0
    
    Signed-off-by: Aurélien Pupier <ap...@redhat.com>
---
 .../org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
index 9a5913900ab..eee78037342 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
@@ -65,7 +65,7 @@ class IntegrationRunTest extends KubeBaseTest {
     public void shouldAddTraits() throws Exception {
         IntegrationRun command = createCommand();
         command.filePaths = new String[] { "classpath:route.yaml" };
-        command.traits = new String[] { "logging.level=DEBUG", "container.imagePullPolicy=ALWAYS" };
+        command.traits = new String[] { "logging.level=DEBUG", "container.imagePullPolicy=Always" };
         command.output = "yaml";
         command.doCall();