This is an automated email from the ASF dual-hosted git repository. orpiske 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 a45c082c6c9 (chores) camel-couchbase: disable some tests only on Apache CI a45c082c6c9 is described below commit a45c082c6c9ab7c0a63bd17c47f47e9b139422ea Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Tue Sep 6 18:05:45 2022 +0200 (chores) camel-couchbase: disable some tests only on Apache CI --- .../component/couchbase/integration/ConsumeMessagesWithLimitIT.java | 2 ++ .../camel/component/couchbase/integration/ConsumeResumeStrategyIT.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/ConsumeMessagesWithLimitIT.java b/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/ConsumeMessagesWithLimitIT.java index 04ca50cf53e..09a77bce6c4 100644 --- a/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/ConsumeMessagesWithLimitIT.java +++ b/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/ConsumeMessagesWithLimitIT.java @@ -23,7 +23,9 @@ import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable; +@DisabledIfEnvironmentVariable(named = "JENKINS_URL", matches = ".*apache.org", disabledReason = "Flaky on Apache CI") public class ConsumeMessagesWithLimitIT extends CouchbaseIntegrationTestBase { @BeforeEach diff --git a/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/ConsumeResumeStrategyIT.java b/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/ConsumeResumeStrategyIT.java index dc341657529..507339b9982 100644 --- a/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/ConsumeResumeStrategyIT.java +++ b/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/ConsumeResumeStrategyIT.java @@ -30,10 +30,12 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable; import static org.apache.camel.component.couchbase.CouchbaseConstants.COUCHBASE_RESUME_ACTION; import static org.awaitility.Awaitility.await; +@DisabledIfEnvironmentVariable(named = "JENKINS_URL", matches = ".*apache.org", disabledReason = "Flaky on Apache CI") public class ConsumeResumeStrategyIT extends CouchbaseIntegrationTestBase { static class TestCouchbaseResumeAdapter implements ResumeActionAware { volatile boolean setResumeActionCalled;