You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/05/25 13:42:19 UTC

[camel] branch main updated: (chores) camel-fhir: skip FhirMetaIT test on Apache CI because it's flaky

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 64ebaf9c528 (chores) camel-fhir: skip FhirMetaIT test on Apache CI because it's flaky
64ebaf9c528 is described below

commit 64ebaf9c528fb23307aa3f02f06b3cc4359c80b8
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu May 25 14:36:36 2023 +0200

    (chores) camel-fhir: skip FhirMetaIT test on Apache CI because it's flaky
---
 .../src/test/java/org/apache/camel/component/fhir/FhirMetaIT.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirMetaIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirMetaIT.java
index 0959d19eb76..8f637a5e711 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirMetaIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirMetaIT.java
@@ -27,6 +27,7 @@ import org.hl7.fhir.instance.model.api.IBaseMetaType;
 import org.hl7.fhir.r4.model.Meta;
 import org.hl7.fhir.r4.model.Patient;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -37,6 +38,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
  * Test class for {@link org.apache.camel.component.fhir.api.FhirMeta} APIs. The class source won't be generated again
  * if the generator MOJO finds it under src/test/java.
  */
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org", disabledReason = "Flaky on Apache CI")
 public class FhirMetaIT extends AbstractFhirTestSupport {
 
     private static final Logger LOG = LoggerFactory.getLogger(FhirMetaIT.class);