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 2019/09/16 13:48:07 UTC
[camel] branch master updated: Camel-Kubernetes: Use the same
namespace in the configmap consumer test
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 7b5b4b1 Camel-Kubernetes: Use the same namespace in the configmap consumer test
7b5b4b1 is described below
commit 7b5b4b17c3982a72e0ac626ad6f4244b04becb40
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Sep 16 15:47:20 2019 +0200
Camel-Kubernetes: Use the same namespace in the configmap consumer test
---
.../component/kubernetes/consumer/KubernetesConfigMapsConsumerTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-kubernetes/src/test/java/org/apache/camel/component/kubernetes/consumer/KubernetesConfigMapsConsumerTest.java b/components/camel-kubernetes/src/test/java/org/apache/camel/component/kubernetes/consumer/KubernetesConfigMapsConsumerTest.java
index 0a53a0e..a13fd95 100644
--- a/components/camel-kubernetes/src/test/java/org/apache/camel/component/kubernetes/consumer/KubernetesConfigMapsConsumerTest.java
+++ b/components/camel-kubernetes/src/test/java/org/apache/camel/component/kubernetes/consumer/KubernetesConfigMapsConsumerTest.java
@@ -87,7 +87,7 @@ public class KubernetesConfigMapsConsumerTest extends KubernetesTestSupport {
public void configure() throws Exception {
from("direct:createConfigmap").toF("kubernetes-config-maps://%s?oauthToken=%s&operation=createConfigMap", host, authToken);
from("direct:deleteConfigmap").toF("kubernetes-config-maps://%s?oauthToken=%s&operation=deleteConfigMap", host, authToken);
- fromF("kubernetes-config-maps://%s?oauthToken=%s&namespace=myproject&labelKey=this&labelValue=rocks", host, authToken).process(new KubernertesProcessor())
+ fromF("kubernetes-config-maps://%s?oauthToken=%s&namespace=default&labelKey=this&labelValue=rocks", host, authToken).process(new KubernertesProcessor())
.to(mockResultEndpoint);
}
};