This is an automated email from the ASF dual-hosted git repository.
pvillard pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/master by this push:
new 722b994 NIFI-7185 relaxed timing constrained for builds on lower
resources environments like our Github CI builds
722b994 is described below
commit 722b99432ce075f93659c168ba367d38006fdf1c
Author: Joe Witt <[email protected]>
AuthorDate: Fri Feb 21 22:24:05 2020 -0500
NIFI-7185 relaxed timing constrained for builds on lower resources
environments like our Github CI builds
Signed-off-by: Pierre Villard <[email protected]>
This closes #4075.
---
.../nifi/provenance/index/lucene/TestLuceneEventIndex.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 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 bd4cc3d..69be483 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
@@ -154,7 +154,7 @@ public class TestLuceneEventIndex {
List<LineageNode> nodes = Collections.emptyList();
while (nodes.size() < 3) {
final ComputeLineageSubmission submission =
index.submitLineageComputation(1L, user, EventAuthorizer.DENY_ALL);
- assertTrue(submission.getResult().awaitCompletion(5,
TimeUnit.SECONDS));
+ assertTrue(submission.getResult().awaitCompletion(15,
TimeUnit.SECONDS));
nodes = submission.getResult().getNodes();
Thread.sleep(25L);
@@ -225,7 +225,7 @@ public class TestLuceneEventIndex {
List<LineageNode> nodes = Collections.emptyList();
while (nodes.size() < 5) {
final ComputeLineageSubmission submission =
index.submitExpandChildren(1L, user, allowForkEvents);
- assertTrue(submission.getResult().awaitCompletion(5,
TimeUnit.SECONDS));
+ assertTrue(submission.getResult().awaitCompletion(15,
TimeUnit.SECONDS));
nodes = submission.getResult().getNodes();
Thread.sleep(25L);
@@ -302,7 +302,7 @@ public class TestLuceneEventIndex {
List<LineageNode> nodes = Collections.emptyList();
while (nodes.size() < 2) {
final ComputeLineageSubmission submission =
index.submitExpandParents(1L, user, allowJoinEvents);
- assertTrue(submission.getResult().awaitCompletion(5,
TimeUnit.SECONDS));
+ assertTrue(submission.getResult().awaitCompletion(15,
TimeUnit.SECONDS));
nodes = submission.getResult().getNodes();
Thread.sleep(25L);
@@ -354,7 +354,7 @@ public class TestLuceneEventIndex {
List<ProvenanceEventRecord> events = Collections.emptyList();
while (events.size() < 2) {
final QuerySubmission submission = index.submitQuery(query,
authorizer, "unit test");
- assertTrue(submission.getResult().awaitCompletion(5,
TimeUnit.SECONDS));
+ assertTrue(submission.getResult().awaitCompletion(15,
TimeUnit.SECONDS));
events = submission.getResult().getMatchingEvents();
Thread.sleep(25L);
}
@@ -459,7 +459,7 @@ public class TestLuceneEventIndex {
final QueryResult result = submission.getResult();
assertNotNull(result);
- result.awaitCompletion(2000, TimeUnit.MILLISECONDS);
+ result.awaitCompletion(4000, TimeUnit.MILLISECONDS);
assertTrue(result.isFinished());
assertNull(result.getError());
@@ -502,7 +502,7 @@ public class TestLuceneEventIndex {
final QueryResult result = submission.getResult();
assertNotNull(result);
- result.awaitCompletion(2000, TimeUnit.MILLISECONDS);
+ result.awaitCompletion(4000, TimeUnit.MILLISECONDS);
assertTrue(result.isFinished());
assertNull(result.getError());