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

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 492502f  Fixed test
492502f is described below

commit 492502fbea217ba78740618ed50e82f7e1317346
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Oct 13 06:42:47 2020 +0200

    Fixed test
---
 .../java/org/apache/camel/catalog/lucene/CamelCatalogLuceneTest.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/catalog/camel-catalog-lucene/src/test/java/org/apache/camel/catalog/lucene/CamelCatalogLuceneTest.java
 
b/catalog/camel-catalog-lucene/src/test/java/org/apache/camel/catalog/lucene/CamelCatalogLuceneTest.java
index 84d0054..bd1295f 100644
--- 
a/catalog/camel-catalog-lucene/src/test/java/org/apache/camel/catalog/lucene/CamelCatalogLuceneTest.java
+++ 
b/catalog/camel-catalog-lucene/src/test/java/org/apache/camel/catalog/lucene/CamelCatalogLuceneTest.java
@@ -21,11 +21,13 @@ import org.apache.camel.catalog.DefaultCamelCatalog;
 import org.apache.camel.catalog.EndpointValidationResult;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestInstance;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
+@TestInstance(TestInstance.Lifecycle.PER_CLASS)
 public class CamelCatalogLuceneTest {
 
     private CamelCatalog catalog;

Reply via email to