Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAMEL-21438: disable unreliable tests on multiple platforms #16234

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@
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.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;

import static org.junit.jupiter.api.Assertions.assertEquals;

@DisabledOnOs(value = { OS.LINUX },
architectures = { "s390x" },
disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
public class LumberjackComponentTest extends CamelTestSupport {
private static int port;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,16 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
import org.junit.jupiter.api.parallel.Isolated;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

@DisabledOnOs(value = { OS.LINUX },
architectures = { "s390x" },
disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
@Isolated
public class LumberjackMultiThreadIT extends CamelTestSupport {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@
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 org.junit.jupiter.api.condition.OS;

/**
* Unit test for the file sort by expression
*/
@DisabledOnOs(value = { OS.LINUX },
architectures = { "ppc64le" },
disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
public class FileSortByIgnoreCaseExpressionTest extends ContextTestSupport {

private void prepareFolder(String folder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
package org.apache.camel.processor;

import org.apache.camel.builder.RouteBuilder;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;

/**
*
*/
@DisabledOnOs(value = { OS.LINUX },
architectures = { "s390x" },
disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
public class ResequenceBatchNotIgnoreInvalidExchangesTest extends ResequenceStreamNotIgnoreInvalidExchangesTest {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.processor.resequencer.MessageRejectedException;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;

/**
*
*/
@DisabledOnOs(value = { OS.LINUX },
architectures = { "s390x" },
disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
public class ResequenceStreamRejectOldExchangesTest extends ContextTestSupport {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,15 @@
import org.apache.camel.processor.errorhandler.DefaultErrorHandler;
import org.apache.camel.support.service.ServiceHelper;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;

@DisabledOnOs(value = { OS.LINUX },
architectures = { "s390x" },
disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
public class StreamResequencerTest extends ContextTestSupport {

protected void sendBodyAndHeader(String endpointUri, final Object body, final String headerName, final Object headerValue) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

@DisabledOnOs(value = { OS.LINUX },
architectures = { "s390x" },
disabledReason = "This test does not run reliably multiple platforms (see CAMEL-21438)")
public class ThreadsRejectedExecutionTest extends ContextTestSupport {

@Override
Expand Down