[
https://issues.apache.org/jira/browse/FINERACT-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266352#comment-17266352
]
Michael Vorburger commented on FINERACT-1293:
---------------------------------------------
> I'm hitting this when running the test locally in Eclipse; perhaps running
> just this test locally from Gradle makes a difference?
{noformat}
cd integration-tests/
../gradlew test --tests
org.apache.fineract.integrationtests.SchedulerJobsTestResults{noformat}
reproduces me the exact same problem as above locally on the CLI - so this
isn't somehow Eclipse specific either. (Note that you have to NOT have
{{./gradlew bootRun}} started; the {{test}} will start Cargo.)
I'm giving up on further investigating this. Somehow these 2 tests work on
Travis, but not locally! Anyway.
> SchedulerJobsTestResults testInterestTransferForSavings() and
> testExecuteStandingInstructionsJobOutcome() fail when run locally, but pass
> on Travis CI
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FINERACT-1293
> URL: https://issues.apache.org/jira/browse/FINERACT-1293
> Project: Apache Fineract
> Issue Type: Bug
> Reporter: Michael Vorburger
> Priority: Major
>
> While locally investigating FINERACT-924, I've found that the problem from
> that issue (the testApplyAnnualFeeForSavingsJobOutcome()) WORKED locally for
> me, but instead 2 other tests locally consistently failed on me, even though
> they do seem to always pass on Travis CI, namely:
> {noformat}
> org.opentest4j.AssertionFailedError: Verifying opening Balance ==> expected:
> <100000.0> but was: <100918.32>
> at
> org.apache.fineract.integrationtests.SchedulerJobsTestResults.testInterestTransferForSavings(SchedulerJobsTestResults.java:897){noformat}
> and:
> {noformat}
> org.opentest4j.AssertionFailedError: Verifying From Savings Balance after
> Successful completion of Scheduler Job ==> expected: <500.0> but was: <1000.0>
> at
> org.apache.fineract.integrationtests.SchedulerJobsTestResults.testExecuteStandingInstructionsJobOutcome(SchedulerJobsTestResults.java:659){noformat}
> This already came up back in FINERACT-857, where I had suspected that
> _"perhaps these individual test methods are not as isolated from each other
> as they should be"_.
> Or maybe that has something to do with the {{export TZ=Asia/Kolkata}} in
> [https://github.com/apache/fineract/blob/develop/.travis.yml#L55] ?
> [~ptuomola] (or perhaps [~aleks]) I don't suppose you happen to know more
> about this?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)