You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/12/04 17:33:41 UTC

(camel) branch main updated: CAMEL-19991: disabled flaky test on GitHub Actions (#12308)

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 d68dbc25604 CAMEL-19991: disabled flaky test on GitHub Actions (#12308)
d68dbc25604 is described below

commit d68dbc25604abf96b806e9fdcbbef4aa9ca40c1f
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Mon Dec 4 14:33:36 2023 -0300

    CAMEL-19991: disabled flaky test on GitHub Actions (#12308)
---
 .../test/java/org/apache/camel/component/http/HttpNoConnectionTest.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpNoConnectionTest.java b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpNoConnectionTest.java
index b33a89ce3e4..0939ff51bdc 100644
--- a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpNoConnectionTest.java
+++ b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpNoConnectionTest.java
@@ -26,12 +26,14 @@ import org.apache.hc.core5.util.TimeValue;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 
 import static org.apache.camel.http.common.HttpMethods.GET;
 import static org.apache.camel.test.junit5.TestSupport.assertIsInstanceOf;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Flaky on Github CI")
 public class HttpNoConnectionTest extends BaseHttpTest {
 
     private HttpServer localServer;