[
https://issues.apache.org/jira/browse/FINERACT-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17149678#comment-17149678
]
Michael Vorburger commented on FINERACT-1016:
---------------------------------------------
We'll live :P with this IT failing on every 1st of the month... just for the
record and future reference, here are the details of how it fails now (on every
1st):
{noformat}RecurringDepositTest >
testPrematureClosureAmountWithPenalInterestTillPrematureWithdrawal_With_360_Days()
FAILED
org.opentest4j.AssertionFailedError: Verifying Pre-Closure maturity amount
==> expected: <4010.0> but was: <4009.0>
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at
org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:787)
at
org.apache.fineract.integrationtests.RecurringDepositTest.testPrematureClosureAmountWithPenalInterestTillPrematureWithdrawal_With_360_Days(RecurringDepositTest.java:2125){noformat}
> Flaky
> RecurringDepositTest.testPrematureClosureAmountWithPenalInterestTillPrematureWithdrawal_With_360_Days()
> -------------------------------------------------------------------------------------------------------------
>
> Key: FINERACT-1016
> URL: https://issues.apache.org/jira/browse/FINERACT-1016
> Project: Apache Fineract
> Issue Type: Sub-task
> Reporter: Michael Vorburger
> Priority: Blocker
> Fix For: 1.4.0
>
>
> See comments in FINERACT-855 from yesterday and today re.
> testPrematureClosureAmountWithPenalInterestTillPrematureWithdrawal_With_360_Days():
> {code:java}org.apache.fineract.integrationtests.RecurringDepositTest >
> testPrematureClosureAmountWithPenalInterestTillPrematureWithdrawal_With_360_Days
> FAILED
> java.lang.AssertionError: Verifying Pre-Closure maturity amount
> expected:<4005.0> but was:<4006.0>
> at org.junit.Assert.fail(Assert.java:89)
> at org.junit.Assert.failNotEquals(Assert.java:835)
> at org.junit.Assert.assertEquals(Assert.java:120)
> at
> org.apache.fineract.integrationtests.RecurringDepositTest.testPrematureClosureAmountWithPenalInterestTillPrematureWithdrawal_With_360_Days(RecurringDepositTest.java:2161){code}
> Because this problem probably actually has nothing at all to do with the
> testRecurringDepositAccountWithClosureTypeTransferToSavings_WITH_HOLD_TAX()
> failure which FINERACT-855 was originally about, so let's track this
> separately here.
> This
> testPrematureClosureAmountWithPenalInterestTillPrematureWithdrawal_With_360_Days()
> failure today seems to have nothing to do with the Job Scheduler (for once),
> but appears to be some date related mess.
> That test today right for me reliably fails locally, but when I change my
> system date back a few days to late May, then it passes. So either the test,
> or worse even the actual logic being tested, has some bug in date handling.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)