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

Commit

Permalink
Merge pull request #1039 from Netflix/fix_es5rest_archive_test
Browse files Browse the repository at this point in the history
Trying to increase timeouts for es5 search test to be successful.
  • Loading branch information
kishorebanala committed Mar 8, 2019
2 parents 4bd147c + ea27cc5 commit c3e1ff3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
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 c3e1ff3

Please sign in to comment.