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:43 UTC

[camel-quarkus] 01/02: Disable OptaplannerTest on CI

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 9f3dfe2a3cefb7edc6b69007960a5c3de66220ca
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Mar 16 07:10:52 2021 +0000

    Disable OptaplannerTest on CI
---
 .../apache/camel/quarkus/component/optaplanner/it/OptaplannerIT.java   | 3 +++
 .../apache/camel/quarkus/component/optaplanner/it/OptaplannerTest.java | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/integration-tests/optaplanner/src/test/java/org/apache/camel/quarkus/component/optaplanner/it/OptaplannerIT.java b/integration-tests/optaplanner/src/test/java/org/apache/camel/quarkus/component/optaplanner/it/OptaplannerIT.java
index 81cc65d..6ec8d45 100644
--- a/integration-tests/optaplanner/src/test/java/org/apache/camel/quarkus/component/optaplanner/it/OptaplannerIT.java
+++ b/integration-tests/optaplanner/src/test/java/org/apache/camel/quarkus/component/optaplanner/it/OptaplannerIT.java
@@ -17,7 +17,10 @@
 package org.apache.camel.quarkus.component.optaplanner.it;
 
 import io.quarkus.test.junit.NativeImageTest;
+import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
 
+// https://github.com/apache/camel-quarkus/issues/2205
+@DisabledIfEnvironmentVariable(named = "CI", matches = "true")
 @NativeImageTest
 class OptaplannerIT extends OptaplannerTest {
 
diff --git a/integration-tests/optaplanner/src/test/java/org/apache/camel/quarkus/component/optaplanner/it/OptaplannerTest.java b/integration-tests/optaplanner/src/test/java/org/apache/camel/quarkus/component/optaplanner/it/OptaplannerTest.java
index a519555..f0cf489 100644
--- a/integration-tests/optaplanner/src/test/java/org/apache/camel/quarkus/component/optaplanner/it/OptaplannerTest.java
+++ b/integration-tests/optaplanner/src/test/java/org/apache/camel/quarkus/component/optaplanner/it/OptaplannerTest.java
@@ -22,10 +22,13 @@ import io.quarkus.test.junit.QuarkusTest;
 import io.restassured.RestAssured;
 import org.apache.camel.quarkus.component.optaplanner.it.domain.TimeTable;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
 
 import static org.awaitility.Awaitility.await;
 import static org.hamcrest.Matchers.notNullValue;
 
+// https://github.com/apache/camel-quarkus/issues/2205
+@DisabledIfEnvironmentVariable(named = "CI", matches = "true")
 @QuarkusTest
 class OptaplannerTest {