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

nfilotto 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 c74c23f39e1 CAMEL-18608: camel-file - Disable the test 
FileConsumerResumeStrategyTest
c74c23f39e1 is described below

commit c74c23f39e161ed76e4a7331501c35ccb144789c
Author: Nicolas Filotto <nfilo...@talend.com>
AuthorDate: Wed Nov 9 12:06:40 2022 +0100

    CAMEL-18608: camel-file - Disable the test FileConsumerResumeStrategyTest
---
 .../org/apache/camel/component/file/FileConsumerResumeStrategyTest.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerResumeStrategyTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerResumeStrategyTest.java
index ba8b9446913..3ce479cc2c0 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerResumeStrategyTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerResumeStrategyTest.java
@@ -31,9 +31,11 @@ import 
org.apache.camel.processor.resume.TransientResumeStrategy;
 import org.apache.camel.support.resume.Resumables;
 import org.junit.jupiter.api.DisplayName;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "apache.org", 
disabledReason = "Always fails on Apache CI")
 @DisplayName("Tests whether file consumer works with the resume strategy")
 public class FileConsumerResumeStrategyTest extends ContextTestSupport {
 

Reply via email to