You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2021/03/16 18:13:44 UTC

[camel-quarkus] 02/02: Make sure Hystrix JVM test is disabled as well as native test

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

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

commit 126f47e5afd4ee15cde9ec075938cec30a7fbbbd
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Mar 16 13:32:07 2021 +0000

    Make sure Hystrix JVM test is disabled as well as native test
---
 .../org/apache/camel/quarkus/component/hystrix/it/HystrixTest.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/integration-tests/hystrix/src/test/java/org/apache/camel/quarkus/component/hystrix/it/HystrixTest.java b/integration-tests/hystrix/src/test/java/org/apache/camel/quarkus/component/hystrix/it/HystrixTest.java
index 1835e76..84b651e 100644
--- a/integration-tests/hystrix/src/test/java/org/apache/camel/quarkus/component/hystrix/it/HystrixTest.java
+++ b/integration-tests/hystrix/src/test/java/org/apache/camel/quarkus/component/hystrix/it/HystrixTest.java
@@ -20,11 +20,14 @@ import io.quarkus.test.common.QuarkusTestResource;
 import io.quarkus.test.junit.QuarkusTest;
 import io.restassured.RestAssured;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
 
 import static org.hamcrest.core.Is.is;
 
 @QuarkusTest
 @QuarkusTestResource(HystrixTestResource.class)
+// https://github.com/apache/camel-quarkus/issues/1146
+@DisabledIfEnvironmentVariable(named = "CI", matches = "true")
 class HystrixTest {
 
     @Test