[ https://issues.apache.org/jira/browse/FINERACT-1837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mihaly Dallos closed FINERACT-1837. ----------------------------------- Resolution: Fixed > DelinquencyBucketsIntegrationTest.testLoanClassificationStepAsPartOfCOB test > is running for 10 mins > --------------------------------------------------------------------------------------------------- > > Key: FINERACT-1837 > URL: https://issues.apache.org/jira/browse/FINERACT-1837 > Project: Apache Fineract > Issue Type: Improvement > Reporter: Mihaly Dallos > Assignee: Jose Alberto Hernandez Maldonado > Priority: Major > Labels: PepperSoup > > DelinquencyBucketsIntegrationTest.testLoanClassificationStepAsPartOfCOB test > is running for 10 mins. > This test need to be refactored to decrease the execution time drastically. > I believe the major issue here is the test is executing the Loan COB for 52 > times (50 times for consecutive days): > {{// Move the Business date to get older the loan and to have an overdue loan > LocalDate lastLoanCOBBusinessDate = businessDate;}} > {{businessDate = businessDate.plusDays(50);}} > {{schedulerJobHelper.fastForwardTime(lastLoanCOBBusinessDate, businessDate, > jobName, responseSpec);}} > {{log.info("Current date {}", businessDate);}} > {{BusinessDateHelper.updateBusinessDate(requestSpec, responseSpec, > BusinessDateType.BUSINESS_DATE, businessDate);}} > {{// Run Second time the Job}} > {{schedulerJobHelper.executeAndAwaitJob(jobName); }} > Can we change the delinquency ranges and the number of times we really need > to execute the COB job? > Also is there any other logic which slowing this test down? > {panel} > *Acceptance criteria* > * This test should be run under 30 seconds, but maximum 1 minutes (if the > complexity and the executed steps really requires) > {panel} > > > > > > > > > > > -- This message was sent by Atlassian Jira (v8.20.10#820010)