This is an automated email from the ASF dual-hosted git repository.
davsclaus 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 10c45f3 Fixed test
10c45f3 is described below
commit 10c45f3b74aa7395920a60b258047830fbb6fd1e
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jan 16 16:20:20 2019 +0100
Fixed test
---
.../hazelcast/HazelcastErrorMessagesTest.java | 19 -------------------
1 file changed, 19 deletions(-)
diff --git
a/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastErrorMessagesTest.java
b/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastErrorMessagesTest.java
index fe5ad87..f4a8168 100644
---
a/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastErrorMessagesTest.java
+++
b/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastErrorMessagesTest.java
@@ -22,25 +22,6 @@ import org.junit.Test;
public class HazelcastErrorMessagesTest extends HazelcastCamelTestSupport {
@Test
- public void testUriPrefix() {
- RouteBuilder builder = new RouteBuilder() {
- public void configure() throws Exception {
- from("direct:prefix").to("hazelcast:error:foo");
- }
- };
-
- try {
- context.addRoutes(builder);
- context.start();
- fail("Should have thrown exception");
- } catch (Exception e) {
- assertTrue(e.getMessage().contains(
- "Your URI does not provide a correct 'type' prefix. It
should be anything like "
- +
"'hazelcast:[map:|multimap:|atomicvalue:|instance:|queue:|seda:|list:|replicatedmap:|set:|ringbuffer:]name'
but is 'hazelcast://error:foo"));
- }
- }
-
- @Test
public void testAtomicNumberConsumer() {
RouteBuilder builder = new RouteBuilder() {
public void configure() throws Exception {