Hi > > Next questions: why do the tests fail when running against a Fineract server > I start by hand (w/gradle devRun)? Does it matter? With cargo the tests are > about 25% slower (1hr w/cargo vs. 45min w/devRun), but otherwise all I'm > trying to do here is reliably reproduce test results, so I think I'm fine > sticking with the supported way to run integration tests rather than the > faster way (although getting that 15min back every time would be nice, and if > you factor in everyone running this...). >
When the integration tests start cargo for Fineract, they provide a specific set of configurations for Tomcat that configure Fineract into the correct security mode for testing - see e.g the cargo config block in fineract/oauth2-tests/build.gradle. Did you start your standalone server with the same configs? In general I do agree it would be great to get rid of Cargo. It’s slow and flaky, but when it was introduced I don’t think there was any other alternative that would allow the security tests to be representative. But maybe there are some better alternatives now... Regards Petri