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

apupier 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 312f6757a892 Fix JdbcKeyValueRepositoryTest
312f6757a892 is described below

commit 312f6757a8927d2a9b13d1a0d13e02abbc9390ec
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Thu Sep 3 13:24:34 2026 +0200

    Fix JdbcKeyValueRepositoryTest
    
    most of the tests requires to be isolated as it is sharing a
    KeyValueRepository and doing destructive operations, or counting size
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .../camel/processor/keyvalue/jdbc/JdbcKeyValueRepositoryTest.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/components/camel-sql/src/test/java/org/apache/camel/processor/keyvalue/jdbc/JdbcKeyValueRepositoryTest.java
 
b/components/camel-sql/src/test/java/org/apache/camel/processor/keyvalue/jdbc/JdbcKeyValueRepositoryTest.java
index 153e7eb8c802..a53e9b924266 100644
--- 
a/components/camel-sql/src/test/java/org/apache/camel/processor/keyvalue/jdbc/JdbcKeyValueRepositoryTest.java
+++ 
b/components/camel-sql/src/test/java/org/apache/camel/processor/keyvalue/jdbc/JdbcKeyValueRepositoryTest.java
@@ -23,6 +23,7 @@ import java.util.concurrent.TimeUnit;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.parallel.Isolated;
 import org.springframework.jdbc.datasource.embedded.EmbeddedDatabase;
 import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder;
 import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;
@@ -33,6 +34,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
+@Isolated
 class JdbcKeyValueRepositoryTest {
 
     private JdbcKeyValueRepository repository;

Reply via email to