This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 6513e9eccc2 camel-jpa - Skip tests that hang on Apache CI 6513e9eccc2 is described below commit 6513e9eccc2243886a59df1ecfc69a9ec07714df Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Jul 18 09:07:31 2023 +0200 camel-jpa - Skip tests that hang on Apache CI --- .../java/org/apache/camel/component/jpa/JpaWithNativeQueryTest.java | 3 +++ .../camel/component/jpa/JpaWithNativeQueryWithResultClassTest.java | 3 +++ .../src/test/java/org/apache/camel/component/jpa/JpaWithQueryTest.java | 3 +++ 3 files changed, 9 insertions(+) diff --git a/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithNativeQueryTest.java b/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithNativeQueryTest.java index 061978b2119..dd55973c0c3 100644 --- a/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithNativeQueryTest.java +++ b/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithNativeQueryTest.java @@ -18,10 +18,13 @@ package org.apache.camel.component.jpa; import org.apache.camel.Exchange; import org.apache.camel.examples.MultiSteps; +import org.junit.jupiter.api.condition.DisabledIfSystemProperty; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; +@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org", + disabledReason = "Apache CI is hanging on this test") public class JpaWithNativeQueryTest extends JpaWithNamedQueryTest { /** diff --git a/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithNativeQueryWithResultClassTest.java b/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithNativeQueryWithResultClassTest.java index 80f619ce391..8619cec98e2 100644 --- a/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithNativeQueryWithResultClassTest.java +++ b/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithNativeQueryWithResultClassTest.java @@ -18,10 +18,13 @@ package org.apache.camel.component.jpa; import org.apache.camel.Exchange; import org.apache.camel.examples.MultiSteps; +import org.junit.jupiter.api.condition.DisabledIfSystemProperty; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; +@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org", + disabledReason = "Apache CI is hanging on this test") public class JpaWithNativeQueryWithResultClassTest extends JpaWithNamedQueryTest { /** diff --git a/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithQueryTest.java b/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithQueryTest.java index 4fb041c6841..31247359e12 100644 --- a/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithQueryTest.java +++ b/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaWithQueryTest.java @@ -17,9 +17,12 @@ package org.apache.camel.component.jpa; import org.apache.camel.examples.MultiSteps; +import org.junit.jupiter.api.condition.DisabledIfSystemProperty; import static org.junit.jupiter.api.Assertions.assertEquals; +@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org", + disabledReason = "Apache CI is hanging on this test") public class JpaWithQueryTest extends JpaWithNamedQueryTest { @Override