Hi Vishwas

Thanks for providing a detailed answer about this issue, now I know the reason 
why theintegration tests were failing on my machine.

Regards, Angel



From: Vishwas Babu <vish...@confluxtechnologies.com>
Sent: sábado, 22 de junio de 2019 01:07
To: Dev <dev@fineract.apache.org>
Subject: Re: Running IntegrationTest using different locale values

Hi Angel,

>>Recently I’ve been running the integrationTest gradle task and noticed that 
>>some tests were failing for me, however it seems that they work perfectly for 
>>other people
This could be caused by

1) Integration tests fail when the default tenant has a different time-zone 
than the system(s) running the application and database servers - Additional 
details and suggested fixes at 
https://issues.apache.org/jira/browse/FINERACT-723
2) Integration test cases fail when run on the 1st of a month - 
https://issues.apache.org/jira/browse/FINERACT-722

To ensure Integration tests are stable on Travis, we hardcode the system 
timezone to Asia/Kolkata (which is the same timezone of the default tenant) and 
set the system date to the 23rd of Feb 2019.

Regards,
Vishwas

On Wed, Jun 19, 2019 at 11:22 AM Angel Cajas 
<angel.ca...@bowpi.com<mailto:angel.ca...@bowpi.com>> wrote:
Hi developers,

Recently I’ve been running the integrationTest gradle task and noticed that 
some tests were failing for me, however it seems that they work perfectly for 
other people.

I noticed that most of those test failed because of the date format being used: 
“dd MMMM yyyy “  and because there seems to be some locale differences between 
my computer and the ones being used in Fineract responses which causes some 
tests to fail. Adding a locale parameter to the some StringFormat objects 
helped me to reduce the number of test but that only make me question if are 
there some computer settings that I should have to run integration test these 
integration tests?

I would really appreciate you answers

Regards, Angel

Reply via email to