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

joewitt pushed a commit to branch support/nifi-1.11.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.11.x by this 
push:
     new bed8ab4  NIFI-7114: Update time-sensitive tests in TestLuceneEventIndex
bed8ab4 is described below

commit bed8ab4ac72f4d2c2f24c0a3ffa0a0678cdcd938
Author: Matthew Burgess <[email protected]>
AuthorDate: Fri Feb 21 16:54:47 2020 -0500

    NIFI-7114: Update time-sensitive tests in TestLuceneEventIndex
    
    Signed-off-by: Joe Witt <[email protected]>
---
 .../org/apache/nifi/provenance/index/lucene/TestLuceneEventIndex.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 d7cf4f6..bd4cc3d 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
@@ -459,7 +459,7 @@ public class TestLuceneEventIndex {
 
             final QueryResult result = submission.getResult();
             assertNotNull(result);
-            result.awaitCompletion(100, TimeUnit.MILLISECONDS);
+            result.awaitCompletion(2000, TimeUnit.MILLISECONDS);
 
             assertTrue(result.isFinished());
             assertNull(result.getError());
@@ -502,7 +502,7 @@ public class TestLuceneEventIndex {
 
             final QueryResult result = submission.getResult();
             assertNotNull(result);
-            result.awaitCompletion(100, TimeUnit.MILLISECONDS);
+            result.awaitCompletion(2000, TimeUnit.MILLISECONDS);
 
             assertTrue(result.isFinished());
             assertNull(result.getError());

Reply via email to