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-spring-boot.git
commit bb80764c3c8ddf63933bc12c19235cf185b2700a Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Thu Jan 5 13:56:30 2023 +0100 (chores) camel-jaxb-starter: disable flaky test on Github --- .../jaxb/springboot/ConcurrentJaxbDataFormatSchemaValidationTest.java | 2 ++ .../converter/jaxb/springboot/JaxbDataFormatSchemaValidationTest.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/components-starter/camel-jaxb-starter/src/test/java/org/apache/camel/converter/jaxb/springboot/ConcurrentJaxbDataFormatSchemaValidationTest.java b/components-starter/camel-jaxb-starter/src/test/java/org/apache/camel/converter/jaxb/springboot/ConcurrentJaxbDataFormatSchemaValidationTest.java index 31e97e148f0..a1c8157d480 100644 --- a/components-starter/camel-jaxb-starter/src/test/java/org/apache/camel/converter/jaxb/springboot/ConcurrentJaxbDataFormatSchemaValidationTest.java +++ b/components-starter/camel-jaxb-starter/src/test/java/org/apache/camel/converter/jaxb/springboot/ConcurrentJaxbDataFormatSchemaValidationTest.java @@ -33,6 +33,7 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; +import org.junit.jupiter.api.condition.DisabledIfSystemProperty; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.context.annotation.Bean; @@ -52,6 +53,7 @@ import org.slf4j.LoggerFactory; ConcurrentJaxbDataFormatSchemaValidationTest.TestConfiguration.class } ) +@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Flaky on Github CI") public class ConcurrentJaxbDataFormatSchemaValidationTest { private static final Logger LOG = LoggerFactory.getLogger(ConcurrentJaxbDataFormatSchemaValidationTest.class); diff --git a/components-starter/camel-jaxb-starter/src/test/java/org/apache/camel/converter/jaxb/springboot/JaxbDataFormatSchemaValidationTest.java b/components-starter/camel-jaxb-starter/src/test/java/org/apache/camel/converter/jaxb/springboot/JaxbDataFormatSchemaValidationTest.java index b67f32390ae..4422b45b98c 100644 --- a/components-starter/camel-jaxb-starter/src/test/java/org/apache/camel/converter/jaxb/springboot/JaxbDataFormatSchemaValidationTest.java +++ b/components-starter/camel-jaxb-starter/src/test/java/org/apache/camel/converter/jaxb/springboot/JaxbDataFormatSchemaValidationTest.java @@ -37,6 +37,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; +import org.junit.jupiter.api.condition.DisabledIfSystemProperty; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.context.annotation.Bean; @@ -56,6 +57,7 @@ import org.slf4j.LoggerFactory; JaxbDataFormatSchemaValidationTest.TestConfiguration.class } ) +@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Flaky on Github CI") public class JaxbDataFormatSchemaValidationTest { private static final Logger LOG = LoggerFactory.getLogger(JaxbDataFormatSchemaValidationTest.class);