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

joewitt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 00a96d79e0 NIFI-9347: Changed timeout for tests from 5 seconds to 60. 
It appears that the timeout was previously 50-60 seconds per test and was 
reduced in NIFI-9141 to 5 seconds, but 5 seconds causes problems in some 
environments
00a96d79e0 is described below

commit 00a96d79e07c7e4bea886f3992d94e3d96dddcd0
Author: Mark Payne <marka...@hotmail.com>
AuthorDate: Fri Jun 10 13:55:59 2022 -0400

    NIFI-9347: Changed timeout for tests from 5 seconds to 60. It appears that 
the timeout was previously 50-60 seconds per test and was reduced in NIFI-9141 
to 5 seconds, but 5 seconds causes problems in some environments
---
 .../org/apache/nifi/provenance/index/lucene/TestLuceneEventIndex.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestLuceneEventIndex.java
 
b/nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestLuceneEventIndex.java
index 5c4e2161bc..59b0af7986 100644
--- 
a/nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestLuceneEventIndex.java
+++ 
b/nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestLuceneEventIndex.java
@@ -68,7 +68,7 @@ import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
 @DisabledOnOs(OS.WINDOWS)
-@Timeout(value = 5)
+@Timeout(value = 60)
 public class TestLuceneEventIndex {
 
     private final AtomicLong idGenerator = new AtomicLong(0L);

Reply via email to