Skip to content

Commit

Permalink
chore(controller): make JobUpdateHelperTest stable (#3006)
Browse files Browse the repository at this point in the history
  • Loading branch information
anda-ren authored Nov 21, 2023
1 parent a33d2c0 commit 1281ba8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void testSuccess() {
verify(jobDao).updateJobStatus(mockJob, desiredStatus);
verify(hotJobHolder).remove(mockJob.getId());
verify(jobDao).updateJobFinishedTime(eq(mockJob),
argThat(d -> d.getTime() > 0), argThat(d -> d > 0));
argThat(d -> d.getTime() > 0), argThat(d -> d >= 0));
}

@Test
Expand Down

0 comments on commit 1281ba8

Please sign in to comment.