Heck yeah that helps! Now I'm able to run all the tests (I think) and nearly all of them pass. Hot diggity dog. I published my almost successful integration test run at https://adammonsen.com/tmp/test-run-002/test/ . 1,366 tests ran, 16 failed, 6 ignored.
Here are the steps I took. First, my database: I'm running postgres from a postgres:16.1 image off Docker Hub. I'm also starting a mock-oauth2-server v2.1.10 because I saw one configured in .github/workflows/build-postgresql.yml. I attached the compose.yml I use for both. I destroyed my databases following your instructions carefully, then went through your new "common issues" page (thanks for that!). At a command line I sourced env.sh (attached -- only change since last time I shared was the addition of SPRING_PROFILES_ACTIVE=test), then ran: gradle dropPGDB -PdbName=fineract_default gradle dropPGDB -PdbName=fineract_tenants gradle createPGDB -PdbName=fineract_tenants gradle createPGDB -PdbName=fineract_default (effectively the same as ./gradlew, I just manually downloaded and installed gradle 8.10.2 and put gradle in my $PATH) Then I started a Fineract backend with: gradle --no-daemon devRun Then at another command line I again sourced my env.sh and ran the "Build & Test" commands one by one from .github/workflows/build-postgresql.yml: gradle --no-daemon build -x cucumber -x test -x doc gradle --no-daemon cucumber -x :fineract-e2e-tests-runner:cucumber gradle -PcargoDisabled=true --no-daemon test -x :twofactor-tests:test -x :oauth2-test:test :fineract-e2e-tests-runner:test -PdbType=postgresql gradle --no-daemon :twofactor-tests:test -PdbType=postgresql gradle --no-daemon :oauth2-tests:test -PdbType=postgresql ...with slight changes: Not using cargo for integration tests, and using gradle instead of ./gradlew. The first two and last two succeeded. No test failures. The 3rd one (integration tests, etc) failed as I mentioned earlier. So, that's where I'm at. I guess next I'll dig into the test failures and see if there's a pattern. I'm also re-running tests using a server started with bootRun in case that's any different from devRun.
compose.yml
Description: application/yaml
env.sh
Description: application/shellscript