diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/sched/SchedulerServiceImplTest.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/sched/SchedulerServiceImplTest.java index 4db538ce048..d5d12403d8d 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/sched/SchedulerServiceImplTest.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/sched/SchedulerServiceImplTest.java @@ -81,7 +81,7 @@ public class SchedulerServiceImplTest { ourLog.info("Fired {} times", CountingJob.ourCount); - await().until(() -> (CountingJob.ourCount, greaterThan(3)); + await().until(() -> CountingJob.ourCount, greaterThan(3)); assertThat(CountingJob.ourCount, lessThan(20)); } @@ -99,7 +99,7 @@ public class SchedulerServiceImplTest { ourLog.info("Fired {} times", CountingJob.ourCount); - await().until(() -> (CountingJob.ourCount, greaterThanOrEqualTo(1)); + await().until(() -> CountingJob.ourCount, greaterThanOrEqualTo(1)); assertThat(CountingJob.ourCount, lessThan(5)); }