relaxed timing constrained for builds on lower resources environments like our Github CI builds
This closes
@@ -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());
