You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by pv...@apache.org on 2024/10/17 16:19:58 UTC

(nifi) branch main updated: NIFI-13888 Increased Timeout to 15 seconds in TestEventIndexTask

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

pvillard 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 784a95c398 NIFI-13888 Increased Timeout to 15 seconds in TestEventIndexTask
784a95c398 is described below

commit 784a95c398d74c4aeff131f27943555853e18e7b
Author: exceptionfactory <ex...@apache.org>
AuthorDate: Thu Oct 17 09:45:56 2024 -0500

    NIFI-13888 Increased Timeout to 15 seconds in TestEventIndexTask
    
    - Increasing the timeout from 5 seconds to 15 seconds should provide greater build stability when running multi-thread builds
    
    Signed-off-by: Pierre Villard <pi...@gmail.com>
    
    This closes #9409.
---
 .../org/apache/nifi/provenance/index/lucene/TestEventIndexTask.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nifi-framework-bundle/nifi-framework-extensions/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestEventIndexTask.java b/nifi-framework-bundle/nifi-framework-extensions/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestEventIndexTask.java
index 6bb6f88b16..fd72c2bdbe 100644
--- a/nifi-framework-bundle/nifi-framework-extensions/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestEventIndexTask.java
+++ b/nifi-framework-bundle/nifi-framework-extensions/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestEventIndexTask.java
@@ -44,7 +44,7 @@ public class TestEventIndexTask {
 
     @Test
     public void testIndexWriterCommittedWhenAppropriate() {
-        assertTimeout(Duration.ofSeconds(5), this::runIndexWriteCommittedWhenAppropriate);
+        assertTimeout(Duration.ofSeconds(15), this::runIndexWriteCommittedWhenAppropriate);
     }
 
     private void runIndexWriteCommittedWhenAppropriate() throws InterruptedException, IOException {