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 12132c70881 CAMEL-21438: disable multiple core tests that don't run
reliably on s390x
12132c70881 is described below
commit 12132c70881be14f2b6891dd515fa8bd6326907c
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Wed Jan 29 09:09:27 2025 +0100
CAMEL-21438: disable multiple core tests that don't run reliably on s390x
---
.../camel/dataformat/barcode/BarcodeDataFormatSpringTest.java | 3 +++
.../camel/component/file/AntPathMatcherGenericFileFilterTest.java | 3 +++
.../apache/camel/component/file/FileConsumeDoneFileIssueTest.java | 3 +++
.../FileConsumerBeginAndCommitExpressionRenameStrategyTest.java | 3 +++
.../file/FileConsumerDirectoryMustExistBridgeErrorHandlerTest.java | 3 +++
.../camel/component/file/FileConsumerFileFilterOptimizedTest.java | 3 +++
.../apache/camel/component/file/FileConsumerFilterFileTest.java | 3 +++
.../component/file/FileConsumerResumeFromOffsetStrategyTest.java | 3 +++
.../org/apache/camel/component/file/FileKeepLastModifiedTest.java | 3 +++
.../java/org/apache/camel/component/file/FileNoOpLockFileTest.java | 3 +++
.../camel/component/seda/SedaWaitForTaskNewerOnCompletionTest.java | 3 +++
.../component/validator/ValidatorResourceResolverFactoryTest.java | 3 +++
.../camel/component/xslt/XsltCustomizeEntityResolverTest.java | 3 +++
.../DefaultCamelContextSuspendResumeRouteStartupOrderTest.java | 3 +++
.../test/java/org/apache/camel/impl/DefaultProducerCacheTest.java | 3 +++
.../org/apache/camel/impl/DurationRoutePolicyMaxSecondsTest.java | 3 +++
.../camel/impl/engine/DefaultSupervisingRouteControllerTest.java | 3 +++
.../org/apache/camel/processor/MulticastParallelStreamingTest.java | 3 +++
.../camel/processor/MulticastParallelStreamingTimeoutTest.java | 3 +++
.../org/apache/camel/processor/MulticastParallelStressTest.java | 3 +++
.../camel/processor/ShutdownCompleteCurrentTaskOnlyTest.java | 3 +++
.../org/apache/camel/processor/WireTapBeanAsProcessorTest.java | 3 +++
.../camel/processor/aggregator/AggregateCompleteAllOnStopTest.java | 3 +++
.../apache/camel/processor/aggregator/AggregateControllerTest.java | 3 +++
.../aggregator/AggregateForceCompletionOnStopParallelTest.java | 3 +++
.../processor/aggregator/AggregateForceCompletionOnStopTest.java | 3 +++
.../ThrottlingExceptionRoutePolicyHalfOpenHandlerSedaTest.java | 3 +++
.../throttle/ThrottlingExceptionRoutePolicyKeepOpenOnInitTest.java | 5 +++++
.../throttle/concurrent/ConcurrentRequestsThrottlerTest.java | 6 ++++--
.../apache/camel/processor/throttle/requests/ThrottlerTest.java | 7 +++++--
30 files changed, 95 insertions(+), 4 deletions(-)
diff --git
a/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeDataFormatSpringTest.java
b/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeDataFormatSpringTest.java
index d861366bc9e..c1aafc139da 100644
---
a/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeDataFormatSpringTest.java
+++
b/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeDataFormatSpringTest.java
@@ -19,8 +19,11 @@ package org.apache.camel.dataformat.barcode;
import org.apache.camel.CamelContext;
import org.apache.camel.spring.SpringCamelContext;
import org.apache.camel.test.spring.junit5.CamelSpringTestSupport;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import org.springframework.context.ApplicationContext;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class BarcodeDataFormatSpringTest extends BarcodeDataFormatCamelTest {
@Override
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/file/AntPathMatcherGenericFileFilterTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/file/AntPathMatcherGenericFileFilterTest.java
index 2d3d82aae13..7522ec88dd1 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/file/AntPathMatcherGenericFileFilterTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/file/AntPathMatcherGenericFileFilterTest.java
@@ -25,10 +25,13 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.spi.Registry;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
/**
* Unit tests for {@link AntPathMatcherGenericFileFilter}.
*/
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class AntPathMatcherGenericFileFilterTest extends ContextTestSupport {
private static final String TEST_DIR_NAME = "test" + UUID.randomUUID();
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeDoneFileIssueTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeDoneFileIssueTest.java
index a46d02f28a1..7d42d6b6c0f 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeDoneFileIssueTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeDoneFileIssueTest.java
@@ -27,6 +27,7 @@ import org.apache.camel.builder.NotifyBuilder;
import org.apache.camel.builder.RouteBuilder;
import org.awaitility.Awaitility;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -34,6 +35,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* CAMEL-5848
*/
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class FileConsumeDoneFileIssueTest extends ContextTestSupport {
private static final String TEST_DIR_NAME = "done" +
UUID.randomUUID().toString();
private static final String TEST_DIR_NAME_2 = "done2" +
UUID.randomUUID().toString();
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerBeginAndCommitExpressionRenameStrategyTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerBeginAndCommitExpressionRenameStrategyTest.java
index c637f5d7dc4..d7f5665ce68 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerBeginAndCommitExpressionRenameStrategyTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerBeginAndCommitExpressionRenameStrategyTest.java
@@ -26,6 +26,7 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -33,6 +34,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for the FileRenameStrategy using preMoveExpression and expression
options
*/
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class FileConsumerBeginAndCommitExpressionRenameStrategyTest extends
ContextTestSupport {
@Test
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerDirectoryMustExistBridgeErrorHandlerTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerDirectoryMustExistBridgeErrorHandlerTest.java
index 367f20e0b8c..7c0a0a915c5 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerDirectoryMustExistBridgeErrorHandlerTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerDirectoryMustExistBridgeErrorHandlerTest.java
@@ -19,7 +19,10 @@ package org.apache.camel.component.file;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.builder.RouteBuilder;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class FileConsumerDirectoryMustExistBridgeErrorHandlerTest extends
ContextTestSupport {
@Test
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerFileFilterOptimizedTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerFileFilterOptimizedTest.java
index 5a879799e05..fc4d4f70241 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerFileFilterOptimizedTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerFileFilterOptimizedTest.java
@@ -22,10 +22,13 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.spi.Registry;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
/**
* Unit test for the file filter option
*/
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class FileConsumerFileFilterOptimizedTest extends ContextTestSupport {
@Override
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerFilterFileTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerFilterFileTest.java
index f4725341286..0855989d498 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerFilterFileTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerFilterFileTest.java
@@ -21,10 +21,13 @@ import org.apache.camel.Exchange;
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.DisabledOnOs;
/**
* Unit test for the filter file option
*/
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class FileConsumerFilterFileTest extends ContextTestSupport {
public static final String FILE_URL_1 = "?initialDelay=0&delay=10&"
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerResumeFromOffsetStrategyTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerResumeFromOffsetStrategyTest.java
index 29ed5fbfd28..647985a70ee 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerResumeFromOffsetStrategyTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerResumeFromOffsetStrategyTest.java
@@ -35,9 +35,12 @@ import org.apache.camel.support.resume.Resumables;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class FileConsumerResumeFromOffsetStrategyTest extends
ContextTestSupport {
private static final Logger LOG =
LoggerFactory.getLogger(FileConsumerResumeFromOffsetStrategyTest.class);
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileKeepLastModifiedTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileKeepLastModifiedTest.java
index d0c4ea1cf8c..ef494b7c8de 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileKeepLastModifiedTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileKeepLastModifiedTest.java
@@ -23,10 +23,13 @@ import org.apache.camel.Exchange;
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.DisabledOnOs;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotSame;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class FileKeepLastModifiedTest extends ContextTestSupport {
private static final String TEST_FILE_NAME = "hello." + UUID.randomUUID()
+ ".txt";
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileNoOpLockFileTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileNoOpLockFileTest.java
index e9da069891f..2b5fd2e3b96 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileNoOpLockFileTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileNoOpLockFileTest.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.DisabledOnOs;
import static org.awaitility.Awaitility.await;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -32,6 +33,8 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
/**
* Unit test to verify that the noop file strategy usage of lock files.
*/
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class FileNoOpLockFileTest extends ContextTestSupport {
@Test
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWaitForTaskNewerOnCompletionTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWaitForTaskNewerOnCompletionTest.java
index b5ba4e595d1..b7174a96ef4 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWaitForTaskNewerOnCompletionTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWaitForTaskNewerOnCompletionTest.java
@@ -25,10 +25,13 @@ import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.support.SynchronizationAdapter;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class SedaWaitForTaskNewerOnCompletionTest extends ContextTestSupport {
private static String done = "";
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/validator/ValidatorResourceResolverFactoryTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/validator/ValidatorResourceResolverFactoryTest.java
index 54225102b0f..3808f923ed6 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/validator/ValidatorResourceResolverFactoryTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/validator/ValidatorResourceResolverFactoryTest.java
@@ -35,11 +35,14 @@ import org.apache.camel.spi.Registry;
import org.apache.camel.support.DefaultRegistry;
import org.apache.camel.support.jndi.JndiBeanRepository;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.awaitility.Awaitility.await;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class ValidatorResourceResolverFactoryTest extends ContextTestSupport {
private Context jndiContext;
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/xslt/XsltCustomizeEntityResolverTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/xslt/XsltCustomizeEntityResolverTest.java
index 6841b6c3d61..76fb88cef9a 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/xslt/XsltCustomizeEntityResolverTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/xslt/XsltCustomizeEntityResolverTest.java
@@ -27,7 +27,10 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.spi.Registry;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class XsltCustomizeEntityResolverTest extends ContextTestSupport {
private static final String EXPECTED_XML_CONSTANT = "<A>1</A>";
diff --git
a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultCamelContextSuspendResumeRouteStartupOrderTest.java
b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultCamelContextSuspendResumeRouteStartupOrderTest.java
index 364e63020bf..4b4bd4fe4ca 100644
---
a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultCamelContextSuspendResumeRouteStartupOrderTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultCamelContextSuspendResumeRouteStartupOrderTest.java
@@ -23,10 +23,13 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.awaitility.Awaitility;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class DefaultCamelContextSuspendResumeRouteStartupOrderTest extends
ContextTestSupport {
@Test
diff --git
a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
index e05ff3fd203..44a1787fc1c 100644
---
a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
@@ -45,11 +45,14 @@ import org.apache.camel.support.cache.ProducerServicePool;
import org.apache.camel.util.function.ThrowingFunction;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.awaitility.Awaitility.await;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class DefaultProducerCacheTest extends ContextTestSupport {
private final AtomicInteger producerCounter = new AtomicInteger();
diff --git
a/core/camel-core/src/test/java/org/apache/camel/impl/DurationRoutePolicyMaxSecondsTest.java
b/core/camel-core/src/test/java/org/apache/camel/impl/DurationRoutePolicyMaxSecondsTest.java
index d9e3808dd71..aadbaa69956 100644
---
a/core/camel-core/src/test/java/org/apache/camel/impl/DurationRoutePolicyMaxSecondsTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/impl/DurationRoutePolicyMaxSecondsTest.java
@@ -23,11 +23,14 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.impl.engine.DurationRoutePolicy;
import org.junit.jupiter.api.Assumptions;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.awaitility.Awaitility.await;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class DurationRoutePolicyMaxSecondsTest extends ContextTestSupport {
@Test
diff --git
a/core/camel-core/src/test/java/org/apache/camel/impl/engine/DefaultSupervisingRouteControllerTest.java
b/core/camel-core/src/test/java/org/apache/camel/impl/engine/DefaultSupervisingRouteControllerTest.java
index e90f7818ed5..54f9c8c5c39 100644
---
a/core/camel-core/src/test/java/org/apache/camel/impl/engine/DefaultSupervisingRouteControllerTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/impl/engine/DefaultSupervisingRouteControllerTest.java
@@ -38,12 +38,15 @@ import
org.apache.camel.spi.CamelEvent.RouteRestartingFailureEvent;
import org.apache.camel.spi.SupervisingRouteController;
import org.apache.camel.support.SimpleEventNotifierSupport;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.awaitility.Awaitility.await;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class DefaultSupervisingRouteControllerTest extends ContextTestSupport {
@Override
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStreamingTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStreamingTest.java
index e2ab132d2aa..0203d096706 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStreamingTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStreamingTest.java
@@ -23,9 +23,12 @@ 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.DisabledOnOs;
import static org.junit.jupiter.api.Assertions.assertEquals;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class MulticastParallelStreamingTest extends ContextTestSupport {
@Test
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStreamingTimeoutTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStreamingTimeoutTest.java
index 4cca4cac1ac..8513c516da8 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStreamingTimeoutTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStreamingTimeoutTest.java
@@ -23,8 +23,11 @@ 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 org.junit.jupiter.api.condition.DisabledOnOs;
@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com",
disabledReason = "Flaky on Github CI")
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class MulticastParallelStreamingTimeoutTest extends ContextTestSupport {
@Test
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStressTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStressTest.java
index 2c879ede816..f0ceed8d9f6 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStressTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelStressTest.java
@@ -26,7 +26,10 @@ import org.apache.camel.Exchange;
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.DisabledOnOs;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class MulticastParallelStressTest extends ContextTestSupport {
@Test
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/ShutdownCompleteCurrentTaskOnlyTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/ShutdownCompleteCurrentTaskOnlyTest.java
index 817b6bfe975..f7b18d91418 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/ShutdownCompleteCurrentTaskOnlyTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/ShutdownCompleteCurrentTaskOnlyTest.java
@@ -23,9 +23,12 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.junit.jupiter.api.Assertions.assertTrue;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class ShutdownCompleteCurrentTaskOnlyTest extends ContextTestSupport {
public static final String FILE_QUERY =
"?initialDelay=0&delay=10&synchronous=true";
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/WireTapBeanAsProcessorTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/WireTapBeanAsProcessorTest.java
index df5513d3eba..c59f94b0770 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/WireTapBeanAsProcessorTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/WireTapBeanAsProcessorTest.java
@@ -26,6 +26,7 @@ import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.spi.Registry;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.awaitility.Awaitility.await;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -34,6 +35,8 @@ import static org.junit.jupiter.api.Assertions.assertNull;
/**
* Wire tap unit test
*/
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class WireTapBeanAsProcessorTest extends ContextTestSupport {
private final MyBean myBean = new MyBean();
private MockEndpoint result;
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateCompleteAllOnStopTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateCompleteAllOnStopTest.java
index a4ed1634e65..c378bf8ea8f 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateCompleteAllOnStopTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateCompleteAllOnStopTest.java
@@ -22,7 +22,10 @@ import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.processor.BodyInAggregatingStrategy;
import org.apache.camel.processor.aggregate.MemoryAggregationRepository;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class AggregateCompleteAllOnStopTest extends ContextTestSupport {
@Test
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateControllerTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateControllerTest.java
index f5c9be430ec..a9bb288ffce 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateControllerTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateControllerTest.java
@@ -23,9 +23,12 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.processor.aggregate.AggregateController;
import org.apache.camel.processor.aggregate.DefaultAggregateController;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.junit.jupiter.api.Assertions.assertEquals;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class AggregateControllerTest extends ContextTestSupport {
private AggregateController controller;
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateForceCompletionOnStopParallelTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateForceCompletionOnStopParallelTest.java
index 487fffe0741..b548d4f65a2 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateForceCompletionOnStopParallelTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateForceCompletionOnStopParallelTest.java
@@ -18,7 +18,10 @@ package org.apache.camel.processor.aggregator;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.processor.BodyInAggregatingStrategy;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class AggregateForceCompletionOnStopParallelTest extends
AggregateForceCompletionOnStopTest {
@Override
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateForceCompletionOnStopTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateForceCompletionOnStopTest.java
index 20b9a71252e..45022defff5 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateForceCompletionOnStopTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateForceCompletionOnStopTest.java
@@ -21,9 +21,12 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.processor.BodyInAggregatingStrategy;
import org.apache.camel.spi.Registry;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import static org.junit.jupiter.api.Assertions.assertEquals;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class AggregateForceCompletionOnStopTest extends ContextTestSupport {
@Test
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/throttle/ThrottlingExceptionRoutePolicyHalfOpenHandlerSedaTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/throttle/ThrottlingExceptionRoutePolicyHalfOpenHandlerSedaTest.java
index 2cf6b3cd393..14df8e401a5 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/throttle/ThrottlingExceptionRoutePolicyHalfOpenHandlerSedaTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/throttle/ThrottlingExceptionRoutePolicyHalfOpenHandlerSedaTest.java
@@ -30,11 +30,14 @@ import
org.apache.camel.throttling.ThrottlingExceptionHalfOpenHandler;
import org.apache.camel.throttling.ThrottlingExceptionRoutePolicy;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static org.awaitility.Awaitility.await;
+@DisabledOnOs(architectures = { "s390x" },
+ disabledReason = "This test does not run reliably on s390x (see
CAMEL-21438)")
public class ThrottlingExceptionRoutePolicyHalfOpenHandlerSedaTest extends
ContextTestSupport {
private static final Logger log =
LoggerFactory.getLogger(ThrottlingExceptionRoutePolicyHalfOpenHandlerSedaTest.class);
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/throttle/ThrottlingExceptionRoutePolicyKeepOpenOnInitTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/throttle/ThrottlingExceptionRoutePolicyKeepOpenOnInitTest.java
index 738890f49d8..d0bf911964d 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/throttle/ThrottlingExceptionRoutePolicyKeepOpenOnInitTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/throttle/ThrottlingExceptionRoutePolicyKeepOpenOnInitTest.java
@@ -22,7 +22,12 @@ import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.throttling.ThrottlingExceptionRoutePolicy;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.EnabledOnOs;
+import org.junit.jupiter.api.condition.OS;
+@EnabledOnOs(value = { OS.LINUX, OS.MAC, OS.FREEBSD, OS.OPENBSD },
+ architectures = { "amd64", "aarch64", "ppc64le" },
+ disabledReason = "This test does not run reliably multiple
platforms (see CAMEL-21438)")
public class ThrottlingExceptionRoutePolicyKeepOpenOnInitTest extends
ContextTestSupport {
private final String url = "seda:foo?concurrentConsumers=20";
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/throttle/concurrent/ConcurrentRequestsThrottlerTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/throttle/concurrent/ConcurrentRequestsThrottlerTest.java
index c43da30952a..d8d20d15291 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/throttle/concurrent/ConcurrentRequestsThrottlerTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/throttle/concurrent/ConcurrentRequestsThrottlerTest.java
@@ -28,15 +28,17 @@ import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.processor.ThrottlerRejectedExecutionException;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
-import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.EnabledOnOs;
import org.junit.jupiter.api.condition.OS;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
// time-bound that does not run well in shared environments
-@DisabledOnOs(OS.WINDOWS)
@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com",
disabledReason = "Flaky on Github CI")
+@EnabledOnOs(value = { OS.LINUX, OS.MAC, OS.FREEBSD, OS.OPENBSD },
+ architectures = { "amd64", "aarch64", "ppc64le" },
+ disabledReason = "This test does not run reliably multiple
platforms (see CAMEL-21438)")
public class ConcurrentRequestsThrottlerTest extends ContextTestSupport {
private static final int INTERVAL = 500;
private static final int MESSAGE_COUNT = 9;
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/throttle/requests/ThrottlerTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/throttle/requests/ThrottlerTest.java
index b7bc7069f99..14293deecbf 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/throttle/requests/ThrottlerTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/throttle/requests/ThrottlerTest.java
@@ -26,14 +26,17 @@ import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.processor.ThrottlerRejectedExecutionException;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
-import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.EnabledOnOs;
import org.junit.jupiter.api.condition.OS;
import static org.junit.jupiter.api.Assertions.assertTrue;
// time-bound that does not run well in shared environments
-@DisabledOnOs(OS.WINDOWS)
+
@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com",
disabledReason = "Flaky on Github CI")
+@EnabledOnOs(value = { OS.LINUX, OS.MAC, OS.FREEBSD, OS.OPENBSD },
+ architectures = { "amd64", "aarch64", "ppc64le" },
+ disabledReason = "This test does not run reliably multiple
platforms (see CAMEL-21438)")
public class ThrottlerTest extends ContextTestSupport {
private static final int INTERVAL = 500;
private static final int TOLERANCE = 50;