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

zhfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new eb1b3d6210 Fix #6300 to remove @AfterEach (#6319)
eb1b3d6210 is described below

commit eb1b3d62106fc0561961b9782ab1b3ec0a6a44dd
Author: Zheng Feng <zh.f...@gmail.com>
AuthorDate: Tue Aug 6 14:09:46 2024 +0800

    Fix #6300 to remove @AfterEach (#6319)
---
 .../java/org/apache/camel/quarkus/test/CamelQuarkusTestSupport.java     | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/test-framework/junit5/src/main/java/org/apache/camel/quarkus/test/CamelQuarkusTestSupport.java
 
b/test-framework/junit5/src/main/java/org/apache/camel/quarkus/test/CamelQuarkusTestSupport.java
index d16b02c3d2..a0c7e62a50 100644
--- 
a/test-framework/junit5/src/main/java/org/apache/camel/quarkus/test/CamelQuarkusTestSupport.java
+++ 
b/test-framework/junit5/src/main/java/org/apache/camel/quarkus/test/CamelQuarkusTestSupport.java
@@ -46,7 +46,6 @@ import org.apache.camel.test.junit5.TestSupport;
 import org.apache.camel.test.junit5.util.ExtensionHelper;
 import org.apache.camel.test.junit5.util.RouteCoverageDumperExtension;
 import org.apache.camel.util.StopWatch;
-import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.TestInstance;
 import org.junit.jupiter.api.extension.ExtensionContext;
@@ -268,7 +267,6 @@ public class CamelQuarkusTestSupport extends 
AbstractTestSupport
      * @throws     Exception if unable to setup the test
      */
     @Deprecated(since = "4.7.0")
-    @AfterEach
     public void tearDown() throws Exception {
         long time = watch.taken();
 

Reply via email to