CAMEL-9638: ignored test for external SNIHostName site
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8ba68e34 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8ba68e34 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8ba68e34 Branch: refs/heads/master Commit: 8ba68e34a397c69e78f461b4fb274f457cd81e37 Parents: c9350c6 Author: Arno Noordover <anoordo...@users.noreply.github.com> Authored: Fri Jun 24 19:15:50 2016 +0200 Committer: Arno Noordover <anoordo...@users.noreply.github.com> Committed: Fri Jun 24 19:15:50 2016 +0200 ---------------------------------------------------------------------- .../org/apache/camel/component/http4/HttpSNIHostNameTest.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/8ba68e34/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpSNIHostNameTest.java ---------------------------------------------------------------------- diff --git a/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpSNIHostNameTest.java b/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpSNIHostNameTest.java index 7f9ffb4..65c4425 100644 --- a/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpSNIHostNameTest.java +++ b/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpSNIHostNameTest.java @@ -19,12 +19,14 @@ package org.apache.camel.component.http4; import org.apache.camel.CamelExecutionException; import org.apache.camel.http.common.HttpOperationFailedException; import org.apache.camel.test.spring.CamelSpringTestSupport; +import org.junit.Ignore; import org.junit.Test; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import static org.hamcrest.core.Is.is; +@Ignore("Ignored test because of external dependency.") public class HttpSNIHostNameTest extends CamelSpringTestSupport { @Test @@ -32,6 +34,7 @@ public class HttpSNIHostNameTest extends CamelSpringTestSupport { String result = template.requestBody("direct:goodSNI", null, String.class); assertNotNull(result); } + @Test public void testMnotDotNetNoSniDoesReturnStatusCode403() { try {