Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
danmiller192 committed Dec 13, 2024
1 parent 8325245 commit a8f775f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ public void testPostponeDurationForTaskInProgressWithResponseTimeoutSet() {
workflowModel.setTasks(List.of(taskModel));
when(properties.getWorkflowOffsetTimeout())
.thenReturn(Duration.ofSeconds(defaultPostPoneOffSetSeconds));
when(properties.getMaxPostponeDurationSeconds())
.thenReturn(Duration.ofSeconds(defaulMmaxPostponeDurationSeconds));
workflowSweeper.unack(workflowModel, defaultPostPoneOffSetSeconds);
verify(queueDAO)
.setUnackTimeout(
Expand Down

0 comments on commit a8f775f

Please sign in to comment.