This is an automated email from the ASF dual-hosted git repository. joewitt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nifi.git
commit 6ea78c55480f306ce3f49bc6636e73d11e7e44c5 Author: Matthew Burgess <[email protected]> AuthorDate: Fri Feb 21 16:54:47 2020 -0500 NIFI-7114: This closes #4069. 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());
