You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/03/21 11:20:21 UTC

(camel) branch main updated: (chores) core: isolate a few flaky tests to see if they run better (#13565)

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

davsclaus 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 58a8e89896f (chores) core: isolate a few flaky tests to see if they run better (#13565)
58a8e89896f is described below

commit 58a8e89896fb7265eda7375e17334f8d831997bf
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Thu Mar 21 08:20:15 2024 -0300

    (chores) core: isolate a few flaky tests to see if they run better (#13565)
---
 .../apache/camel/component/file/FileProducerRenameUsingCopyTest.java    | 2 ++
 .../file/MarkerFileExclusiveReadLockStrategyRecursiveCleanupTest.java   | 2 ++
 .../test/java/org/apache/camel/support/jsse/KeyStoreParametersTest.java | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerRenameUsingCopyTest.java b/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerRenameUsingCopyTest.java
index 31630eabeda..691b81809ab 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerRenameUsingCopyTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerRenameUsingCopyTest.java
@@ -22,7 +22,9 @@ 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.parallel.Isolated;
 
+@Isolated("This test is regularly flaky")
 public class FileProducerRenameUsingCopyTest extends ContextTestSupport {
 
     @Test
diff --git a/core/camel-core/src/test/java/org/apache/camel/component/file/MarkerFileExclusiveReadLockStrategyRecursiveCleanupTest.java b/core/camel-core/src/test/java/org/apache/camel/component/file/MarkerFileExclusiveReadLockStrategyRecursiveCleanupTest.java
index fcf0a922afd..acb59782afb 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/file/MarkerFileExclusiveReadLockStrategyRecursiveCleanupTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/file/MarkerFileExclusiveReadLockStrategyRecursiveCleanupTest.java
@@ -25,9 +25,11 @@ import org.apache.camel.builder.NotifyBuilder;
 import org.apache.camel.builder.RouteBuilder;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.parallel.Isolated;
 
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
+@Isolated("This test is regularly flaky")
 public class MarkerFileExclusiveReadLockStrategyRecursiveCleanupTest extends ContextTestSupport {
 
     public boolean isUseRouteBuilder() {
diff --git a/core/camel-core/src/test/java/org/apache/camel/support/jsse/KeyStoreParametersTest.java b/core/camel-core/src/test/java/org/apache/camel/support/jsse/KeyStoreParametersTest.java
index ccd22ebf9a1..11e83a1ee4c 100644
--- a/core/camel-core/src/test/java/org/apache/camel/support/jsse/KeyStoreParametersTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/support/jsse/KeyStoreParametersTest.java
@@ -28,10 +28,12 @@ import java.security.NoSuchProviderException;
 import org.apache.camel.CamelContext;
 import org.apache.camel.impl.DefaultCamelContext;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.parallel.Isolated;
 
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.fail;
 
+@Isolated("This test is regularly flaky")
 public class KeyStoreParametersTest extends AbstractJsseParametersTest {
 
     protected KeyStoreParameters createMinimalKeyStoreParameters() {