Hi all, I'd love some help making my tests run locally. I've got a
confusing and consistent failure.

I'm trying to recreate more or less what appears in
.github/workflows/build-postgresql.yml , but without the matrix/sharding.
I'm standing up a postgres db and mock oauth2 server, then running the
following:

gradle createPGDB -PdbName=fineract_tenants

gradle createPGDB -PdbName=fineract_default

gradle --no-continue test -PdbType=postgresql -x checkstyleJmh -x
checkstyleMain -x checkstyleTest -x spotlessCheck -x spotlessApply -x
spotbugsMain -x spotbugsTest -x javadoc -x javadocJar -x modernizer -x
:twofactor-tests:test -x :oauth2-test:test -x
:fineract-e2e-tests-runner:test

I've been using something close to this for months now without issues, but
since about a week ago I've started getting a MockitoException. I ran it
just now and got: 420 tests, 1 failures, 0 ignored, 47.916s duration.
Failed tests: RepaymentPeriodTest. initializationError

full results: https://adammonsen.com/tmp/2025-08-21-001-gradle-test/

Any ideas?

Reply via email to