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/07/26 17:00:01 UTC
[camel] branch main updated: CAMEL-19659: prevent camel-fhir integration tests from running on ASF CI (#10836)
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 a9f66803ee3 CAMEL-19659: prevent camel-fhir integration tests from running on ASF CI (#10836)
a9f66803ee3 is described below
commit a9f66803ee3e5ca841c6c84563770bc64fb747bc
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Wed Jul 26 18:59:54 2023 +0200
CAMEL-19659: prevent camel-fhir integration tests from running on ASF CI (#10836)
These tests are extremely slow and resource intensive, causing flakiness when running on the CI (which has slow nodes).
---
.../test/java/org/apache/camel/component/fhir/FhirCapabilitiesIT.java | 3 +++
.../test/java/org/apache/camel/component/fhir/FhirConfigurationIT.java | 3 +++
.../src/test/java/org/apache/camel/component/fhir/FhirCreateIT.java | 3 +++
.../apache/camel/component/fhir/FhirCustomClientConfigurationIT.java | 3 +++
.../src/test/java/org/apache/camel/component/fhir/FhirDeleteIT.java | 3 +++
.../java/org/apache/camel/component/fhir/FhirExtraParametersIT.java | 3 +++
.../src/test/java/org/apache/camel/component/fhir/FhirHistoryIT.java | 3 +++
.../src/test/java/org/apache/camel/component/fhir/FhirLoadPageIT.java | 3 +++
.../src/test/java/org/apache/camel/component/fhir/FhirMetaIT.java | 3 ++-
.../src/test/java/org/apache/camel/component/fhir/FhirOperationIT.java | 3 +++
.../src/test/java/org/apache/camel/component/fhir/FhirPatchIT.java | 3 +++
.../src/test/java/org/apache/camel/component/fhir/FhirReadIT.java | 3 +++
.../src/test/java/org/apache/camel/component/fhir/FhirSearchIT.java | 3 +++
.../src/test/java/org/apache/camel/component/fhir/FhirSimpleIT.java | 3 +++
.../test/java/org/apache/camel/component/fhir/FhirTransactionIT.java | 3 +++
.../src/test/java/org/apache/camel/component/fhir/FhirUpdateIT.java | 3 +++
.../src/test/java/org/apache/camel/component/fhir/FhirValidateIT.java | 3 +++
.../org/apache/camel/component/fhir/Hl7v2PatientToFhirPatientIT.java | 3 +++
18 files changed, 53 insertions(+), 1 deletion(-)
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCapabilitiesIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCapabilitiesIT.java
index 727e8ab0d09..cb0720beca9 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCapabilitiesIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCapabilitiesIT.java
@@ -26,6 +26,7 @@ import org.apache.camel.component.fhir.internal.FhirCapabilitiesApiMethod;
import org.hl7.fhir.r4.model.CapabilityStatement;
import org.hl7.fhir.r4.model.Enumerations;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -36,6 +37,8 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
* Test class for {@link org.apache.camel.component.fhir.api.FhirCapabilities} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirCapabilitiesIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirCapabilitiesIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirConfigurationIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirConfigurationIT.java
index 6d8482af41f..f978809c12e 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirConfigurationIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirConfigurationIT.java
@@ -30,6 +30,7 @@ import org.apache.camel.component.fhir.internal.FhirCreateApiMethod;
import org.apache.camel.impl.DefaultCamelContext;
import org.apache.camel.support.PluginHelper;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
@@ -41,6 +42,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
* Test class for {@link FhirConfiguration} APIs.
*/
@ExtendWith(MockitoExtension.class)
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org",
+ disabledReason = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirConfigurationIT extends AbstractFhirTestSupport {
private static final String PATH_PREFIX = FhirApiCollection.getCollection().getApiName(FhirCreateApiMethod.class).getName();
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCreateIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCreateIT.java
index e8c8bd56cb6..b4391871d38 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCreateIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCreateIT.java
@@ -32,6 +32,7 @@ import org.apache.camel.spi.Registry;
import org.hl7.fhir.r4.model.HumanName;
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;
@@ -42,6 +43,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
* Test class for {@link org.apache.camel.component.fhir.api.FhirCreate} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirCreateIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirCreateIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java
index d715162a052..1c041ff910c 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java
@@ -55,12 +55,15 @@ import org.apache.camel.component.fhir.internal.FhirCreateApiMethod;
import org.hl7.fhir.instance.model.api.IBaseBundle;
import org.hl7.fhir.instance.model.api.IBaseResource;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Test class for {@link FhirConfiguration} APIs.
*/
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org",
+ disabledReason = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirCustomClientConfigurationIT extends AbstractFhirTestSupport {
private static final String PATH_PREFIX = FhirApiCollection.getCollection().getApiName(FhirCreateApiMethod.class).getName();
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirDeleteIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirDeleteIT.java
index 3356060a9b3..a0b6e87d134 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirDeleteIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirDeleteIT.java
@@ -26,6 +26,7 @@ import org.apache.camel.component.fhir.api.ExtraParameters;
import org.apache.camel.component.fhir.internal.FhirApiCollection;
import org.apache.camel.component.fhir.internal.FhirDeleteApiMethod;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -37,6 +38,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
* Test class for {@link org.apache.camel.component.fhir.api.FhirDelete} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirDeleteIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirDeleteIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirExtraParametersIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirExtraParametersIT.java
index 89e570ece1a..7b3a040eda6 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirExtraParametersIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirExtraParametersIT.java
@@ -26,6 +26,7 @@ import org.apache.camel.component.fhir.internal.FhirSearchApiMethod;
import org.hl7.fhir.r4.model.Bundle;
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;
@@ -36,6 +37,8 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
* Test class for {@link org.apache.camel.component.fhir.api.FhirSearch} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirExtraParametersIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirExtraParametersIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirHistoryIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirHistoryIT.java
index d16955026c2..e81aff0b90b 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirHistoryIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirHistoryIT.java
@@ -26,6 +26,7 @@ import org.apache.camel.component.fhir.internal.FhirHistoryApiMethod;
import org.hl7.fhir.r4.model.Bundle;
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;
@@ -36,6 +37,8 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
* Test class for {@link org.apache.camel.component.fhir.api.FhirHistory} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirHistoryIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirHistoryIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirLoadPageIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirLoadPageIT.java
index 8d8d45df21c..d58cd15252a 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirLoadPageIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirLoadPageIT.java
@@ -33,6 +33,7 @@ import org.hl7.fhir.r4.model.HumanName;
import org.hl7.fhir.r4.model.Patient;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -43,6 +44,8 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
* Test class for {@link org.apache.camel.component.fhir.api.FhirLoadPage} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirLoadPageIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirLoadPageIT.class);
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 8f637a5e711..8c0127efa43 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
@@ -38,7 +38,8 @@ 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")
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org",
+ disabledReason = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirMetaIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirMetaIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirOperationIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirOperationIT.java
index ca4771fcdee..68c55831691 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirOperationIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirOperationIT.java
@@ -28,6 +28,7 @@ import org.hl7.fhir.r4.model.Parameters;
import org.hl7.fhir.r4.model.Patient;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -37,6 +38,8 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
/**
* Test class for {@link org.apache.camel.component.fhir.api.FhirOperation} APIs.
*/
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org",
+ disabledReason = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirOperationIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirOperationIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirPatchIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirPatchIT.java
index 33f63891d5a..c92fe3560cd 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirPatchIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirPatchIT.java
@@ -31,6 +31,7 @@ import org.hl7.fhir.instance.model.api.IIdType;
import org.hl7.fhir.r4.model.Patient;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -41,6 +42,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
* Test class for {@link org.apache.camel.component.fhir.api.FhirPatch} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirPatchIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirPatchIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirReadIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirReadIT.java
index a51111cf18d..df0cc0827bb 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirReadIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirReadIT.java
@@ -26,6 +26,7 @@ import org.apache.camel.component.fhir.internal.FhirReadApiMethod;
import org.hl7.fhir.r4.model.IdType;
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;
@@ -36,6 +37,8 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
* Test class for {@link org.apache.camel.component.fhir.api.FhirRead} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirReadIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirReadIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirSearchIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirSearchIT.java
index a16fca00214..15d01b83626 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirSearchIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirSearchIT.java
@@ -22,6 +22,7 @@ import org.apache.camel.component.fhir.internal.FhirSearchApiMethod;
import org.hl7.fhir.r4.model.Bundle;
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;
@@ -32,6 +33,8 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
* Test class for {@link org.apache.camel.component.fhir.api.FhirSearch} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirSearchIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirSearchIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirSimpleIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirSimpleIT.java
index 53653791de7..d2e69d1830b 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirSimpleIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirSimpleIT.java
@@ -29,6 +29,7 @@ import org.hl7.fhir.r4.model.HumanName;
import org.hl7.fhir.r4.model.Patient;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -36,6 +37,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Test simple scenario, without custom component configuration
*/
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org",
+ disabledReason = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirSimpleIT extends AbstractFhirTestSupport {
private static final String PATH_PREFIX = FhirApiCollection.getCollection().getApiName(FhirCreateApiMethod.class).getName();
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirTransactionIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirTransactionIT.java
index c3904aaf76d..bedb7431725 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirTransactionIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirTransactionIT.java
@@ -31,6 +31,7 @@ import org.hl7.fhir.r4.model.Bundle;
import org.hl7.fhir.r4.model.HumanName;
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;
@@ -42,6 +43,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
* Test class for {@link org.apache.camel.component.fhir.api.FhirTransaction} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirTransactionIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirTransactionIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirUpdateIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirUpdateIT.java
index ba35fe09e2d..1f936002e53 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirUpdateIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirUpdateIT.java
@@ -28,6 +28,7 @@ import org.apache.camel.component.fhir.internal.FhirApiCollection;
import org.apache.camel.component.fhir.internal.FhirUpdateApiMethod;
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;
@@ -39,6 +40,8 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
* Test class for {@link org.apache.camel.component.fhir.api.FhirUpdate} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirUpdateIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirUpdateIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirValidateIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirValidateIT.java
index 1185ee209bd..cb5a89cf3bd 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirValidateIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirValidateIT.java
@@ -28,6 +28,7 @@ import org.hl7.fhir.r4.model.OperationOutcome;
import org.hl7.fhir.r4.model.OperationOutcome.OperationOutcomeIssueComponent;
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;
@@ -39,6 +40,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
* Test class for {@link org.apache.camel.component.fhir.api.FhirValidate} 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 = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class FhirValidateIT extends AbstractFhirTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(FhirValidateIT.class);
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/Hl7v2PatientToFhirPatientIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/Hl7v2PatientToFhirPatientIT.java
index 2cb231a51d6..a3c6b2ba569 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/Hl7v2PatientToFhirPatientIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/Hl7v2PatientToFhirPatientIT.java
@@ -25,6 +25,7 @@ import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -32,6 +33,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* This test demonstrates how to convert a HL7V2 patient to a FHIR dtsu3 Patient and then insert it into a FHIR server.
*/
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org",
+ disabledReason = "Apache CI nodes are too resource constrained for this test - see CAMEL-19659")
public class Hl7v2PatientToFhirPatientIT extends AbstractFhirTestSupport {
/*