... that reminds me: a while ago I tried to build/test something and ran with Oracle OpenJDK 21 and Azul OpenJDK 23 into a similar situation... not 100% sure if it was maybe one of my changes that just crashed, but somehow I remember trying to run the test in IntelliJ and suddenly it worked... will try to make it reproducible.
On Sun, Apr 13, 2025 at 4:39 PM Ádám Sághy <adamsa...@gmail.com> wrote: > Hi Adam, > > Unfortunately i was unable to reproduce this issue. > > I have tried the following: > > 1. Set openJDK 17 as runtime: > openjdk version "17" 2021-09-14 > OpenJDK Runtime Environment (build 17+35-2724) > OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing) > > 2. Run Fineract backend with default settings: > ./gradlew bootRun > > 3. Run the test: > ./gradlew cucumber -x :fineract-e2e-tests-runner:cucumber > > I havent got any errors :/ > > For full disclosure: i am using MacOS :/ > > Regards, > Adam > > On 2025. Apr 12., at 22:26, Adam Monsen <amon...@mifos.org> wrote: > > The tests break when run with the OpenJDK 17 that comes with Ubuntu 22.04. > They do run and pass for me when I use Azul Zulu Java 17. Is this > surprising at all? Is it worth a bug report? > > The first failure looks like something related to Spring. Anyone know > what's special about the Azul Zulu Java 17 build vs. the one that comes > with Ubuntu? > > The error is: Suppressed: java.lang.IllegalStateException: > ApplicationContext failure threshold (1) exceeded: skipping repeated > attempt to load context for [WebMergedContextConfiguration@123de29f > testClass = org.apache.fineract.TestSuite... > > I attached a stacktrace. > <openjdk-spring-exception.txt> > > >