This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit e20bd1882510264ad8c5adb8ffb273665b98ea79
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Fri Nov 8 09:12:32 2024 +0100

    (chores) camel-djl: prevent resource-intensive test from running on CI 
environments
---
 .../org/apache/camel/component/djl/CvImageEnhancementLocalTest.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/components/camel-ai/camel-djl/src/test/java/org/apache/camel/component/djl/CvImageEnhancementLocalTest.java
 
b/components/camel-ai/camel-djl/src/test/java/org/apache/camel/component/djl/CvImageEnhancementLocalTest.java
index 1292aa3663d..e3c6c4f613c 100644
--- 
a/components/camel-ai/camel-djl/src/test/java/org/apache/camel/component/djl/CvImageEnhancementLocalTest.java
+++ 
b/components/camel-ai/camel-djl/src/test/java/org/apache/camel/component/djl/CvImageEnhancementLocalTest.java
@@ -38,9 +38,12 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.test.junit5.CamelTestSupport;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*",
+                          disabledReason = "Requires too much network 
resources")
 public class CvImageEnhancementLocalTest extends CamelTestSupport {
     private static final Logger LOG = 
LoggerFactory.getLogger(CvImageEnhancementLocalTest.class);
 

Reply via email to