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

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


The following commit(s) were added to refs/heads/master by this push:
     new a6b9283  Fixed properties test to use correct way of main 
configurations
a6b9283 is described below

commit a6b9283463a9f4e39afc62d8d595c150c17c5ad6
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Jul 30 10:54:54 2020 +0200

    Fixed properties test to use correct way of main configurations
---
 .../src/test/java/org/apache/camel/k/main/PropertiesTest.java  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/camel-k-main/camel-k-runtime-main/src/test/java/org/apache/camel/k/main/PropertiesTest.java
 
b/camel-k-main/camel-k-runtime-main/src/test/java/org/apache/camel/k/main/PropertiesTest.java
index 90d5260..7349b84 100644
--- 
a/camel-k-main/camel-k-runtime-main/src/test/java/org/apache/camel/k/main/PropertiesTest.java
+++ 
b/camel-k-main/camel-k-runtime-main/src/test/java/org/apache/camel/k/main/PropertiesTest.java
@@ -122,11 +122,11 @@ public class PropertiesTest {
     @Test
     public void testContextConfiguration() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty("camel.context.message-history", "false");
-        properties.setProperty("camel.context.load-type-converters", "false");
-        
properties.setProperty("camel.context.stream-caching-strategy.spool-threshold", 
"100");
-        properties.setProperty("camel.context.rest-configuration.component", 
"servlet");
-        
properties.setProperty("camel.context.rest-configuration.context-path", 
"/my/path");
+        properties.setProperty("camel.main.message-history", "false");
+        properties.setProperty("camel.main.load-type-converters", "false");
+        properties.setProperty("camel.main.stream-caching-spool-threshold", 
"100");
+        properties.setProperty("camel.rest.component", "servlet");
+        properties.setProperty("camel.rest.context-path", "/my/path");
 
         ApplicationRuntime runtime = new ApplicationRuntime();
         runtime.setProperties(properties);

Reply via email to