Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
1.4.0
-
None
-
None
Description
While looking into FINERACT-1069, I stumbled upon some schedular IT test errors which I faced when working on migrating the JPA so originally I thought something was wrong with some of the changes I made. Seeing thesame error with OpenJPA on branch develop tells me this deserves more attention. Here are the logs:
SchedulerJobsTest > testTriggeringManualExecutionOfAllSchedulerJobs() FAILED org.awaitility.core.ConditionTimeoutException: Lambda expression in org.apache.fineract.integrationtests.common.SchedulerJobHelper: expected the predicate to ret urn <true> but it returned <false> for input of <{version=4, jobRunStartTime=2020-07-26T16:52:28Z, jobRunEndTime=2020-07-26T16:52:47Z, status=success, triggerType=ap plication}> within 30 seconds. at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165) at org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:601) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:618) at org.apache.fineract.integrationtests.common.SchedulerJobHelper.executeAndAwaitJob(SchedulerJobHelper.java:165) at org.apache.fineract.integrationtests.SchedulerJobsTest.testTriggeringManualExecutionOfAllSchedulerJobs(SchedulerJobsTest.java:132) Caused by: java.util.concurrent.TimeoutException at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204) at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:101) at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:81) at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:101) ... 6 more SchedulerJobsTestResults > testUpdateAccountingRunningBalancesJobOutcome() FAILED org.awaitility.core.ConditionTimeoutException: Lambda expression in org.apache.fineract.integrationtests.common.SchedulerJobHelper: expected the predicate to ret urn <true> but it returned <false> for input of <{version=1, jobRunStartTime=2020-07-16T18:31:00Z, jobRunEndTime=2020-07-16T18:31:00Z, status=success, triggerType=cr on}> within 30 seconds. at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165) at org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:601) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:618) at org.apache.fineract.integrationtests.common.SchedulerJobHelper.executeAndAwaitJob(SchedulerJobHelper.java:165) at org.apache.fineract.integrationtests.SchedulerJobsTestResults.testUpdateAccountingRunningBalancesJobOutcome(SchedulerJobsTestResults.java:423) SchedulerJobsTestResults > testInterestPostingForSavingsJobOutcome() FAILED org.awaitility.core.ConditionTimeoutException: Lambda expression in org.apache.fineract.integrationtests.common.SchedulerJobHelper: expected the predicate to ret urn <true> but it returned <false> for input of <{version=5, jobRunStartTime=2020-07-26T18:11:18Z, jobRunEndTime=2020-07-26T18:12:54Z, status=success, triggerType=ap plication}> within 30 seconds. at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165) at org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:601) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:618) at org.apache.fineract.integrationtests.common.SchedulerJobHelper.executeAndAwaitJob(SchedulerJobHelper.java:165) at org.apache.fineract.integrationtests.SchedulerJobsTestResults.testInterestPostingForSavingsJobOutcome(SchedulerJobsTestResults.java:194) SchedulerJobsTestResults > testInterestTransferForSavings() FAILED org.awaitility.core.ConditionTimeoutException: Lambda expression in org.apache.fineract.integrationtests.common.SchedulerJobHelper: expected the predicate to ret urn <true> but it returned <false> for input of <{version=2, jobRunStartTime=2020-07-26T16:52:51Z, jobRunEndTime=2020-07-26T16:52:51Z, status=success, triggerType=ap plication}> within 30 seconds. at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165) at org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:601) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:618) at org.apache.fineract.integrationtests.common.SchedulerJobHelper.executeAndAwaitJob(SchedulerJobHelper.java:165) at org.apache.fineract.integrationtests.SchedulerJobsTestResults.testInterestTransferForSavings(SchedulerJobsTestResults.java:896)