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/12/09 08:09:14 UTC

[camel] 05/05: Camel-Hazelcast: Fixed Hazelcast-seda config test

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

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

commit c4c94ea505a80920d0138731e98965b5a906b64e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 9 08:39:29 2019 +0100

    Camel-Hazelcast: Fixed Hazelcast-seda config test
---
 .../camel/component/hazelcast/HazelcastSedaConfigurationTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastSedaConfigurationTest.java b/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastSedaConfigurationTest.java
index 5d49376..659c7b4 100644
--- a/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastSedaConfigurationTest.java
+++ b/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastSedaConfigurationTest.java
@@ -83,7 +83,7 @@ public class HazelcastSedaConfigurationTest extends CamelTestSupport {
             context.getEndpoint("hazelcast-seda:foo?onErrorDelay=-1");
             fail("Should have thrown exception");
         } catch (ResolveEndpointFailedException e) {
-            assertIsInstanceOf(IllegalArgumentException.class, e.getCause());
+            assertIsInstanceOf(PropertyBindingException.class, e.getCause());
         }
     }