Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Trying to increase timeouts for the search to be successful.
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorebanala committed Mar 8, 2019
1 parent 4bd147c commit ea27cc5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -292,7 +292,7 @@ public void testSearchRecentRunningWorkflows() {
@Test
public void testSearchArchivableWorkflows() throws IOException {
String workflowId = "search-workflow-id";
Long time = DateTime.now().minusDays(2).toDate().getTime();
Long time = DateTime.now().minusDays(7).toDate().getTime();

workflow.setWorkflowId(workflowId);
workflow.setStatus(Workflow.WorkflowStatus.COMPLETED);
Expand All @@ -305,7 +305,7 @@ public void testSearchArchivableWorkflows() throws IOException {
assertTrue(indexExists("conductor"));

await()
.atMost(3, TimeUnit.SECONDS)
.atMost(5, TimeUnit.SECONDS)
.untilAsserted(
() -> {
List<String> searchIds = indexDAO.searchArchivableWorkflows("conductor",1);
Expand Down

0 comments on commit ea27cc5

Please sign in to comment.