Skip to content
Browse files
Fix tests (again, failing on GH, ok, locally).
  • Loading branch information
Gary Gregory committed Aug 13, 2021
1 parent 490f937 commit 19c8494ac464032679cfd8d5bd0b82d139aafba2
Showing 1 changed file with 1 addition and 1 deletion.
@@ -71,7 +71,7 @@ public void testInitialStateIdleDuration() throws InterruptedException {
// We use greaterThanOrEqualTo instead of equal because "now" many be different when each argument is evaluated.
assertThat(dpo.getIdleDuration(), greaterThanOrEqualTo(dpo.getActiveDuration()));
assertThat(dpo.getIdleDuration(), lessThanOrEqualTo(dpo.getActiveDuration()));
// Depreacted
assertThat(dpo.getIdleDuration().toMillis(), lessThanOrEqualTo(dpo.getIdleTimeMillis()));
assertThat(dpo.getIdleDuration(), lessThanOrEqualTo(dpo.getIdleTime()));

0 comments on commit 19c8494

Please sign in to comment.