Gradle test hang there, without giving an error

Here is the Github repo: https://github.com/IdiotLeon/lcidiot

Here are the logs, running gradle :test -i

gradle :test -i
Initialized native services in: C:\Users\yanglu\.gradle\native
The client will now receive all logging from the daemon (pid: 58832). The daemon log file: C:\Users\yanglu\.gradle\daemon\6.0.1\daemon-58832.out.log
Starting 4th build in daemon [uptime: 1 mins 54.065 secs, performance: 100%, non-heap usage: 15% of 268.4 MB]
Using 12 worker leases.
Starting Build
Settings evaluated using settings file 'D:\DevLeon\lcidiot\settings.gradle'.
Projects loaded. Root project using build file 'D:\DevLeon\lcidiot\build.gradle'.
Included projects: [root project 'lcidiot']

> Configure project :
Evaluating root project 'lcidiot' using build file 'D:\DevLeon\lcidiot\build.gradle'.
All projects evaluated.
Selected primary task ':test' from project :
Tasks to be executed: [task ':compileJava', task ':processResources', task ':classes', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test']
:compileJava (Thread[Execution worker for ':',5,main]) started.

> Task :compileJava
Caching disabled for task ':compileJava' because:
  Build cache is disabled
Task ':compileJava' is not up-to-date because:
  Output property 'destinationDir' file D:\DevLeon\lcidiot\build\classes\java\main has been removed.
  Output property 'destinationDir' file D:\DevLeon\lcidiot\build\classes\java\main\com has been removed.
  Output property 'destinationDir' file D:\DevLeon\lcidiot\build\classes\java\main\com\idiotleon has been removed.
The input changes require a full rebuild for incremental task ':compileJava'.
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with JDK Java compiler API.
Created classpath snapshot for incremental compilation in 0.001 secs.
:compileJava (Thread[Execution worker for ':',5,main]) completed. Took 0.318 secs.
:processResources (Thread[Execution worker for ':',5,main]) started.

> Task :processResources NO-SOURCE
file or directory 'D:\DevLeon\lcidiot\src\main\resources', not found
Skipping task ':processResources' as it has no source files and no previous output files.
:processResources (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:classes (Thread[Execution worker for ':',5,main]) started.

> Task :classes
Skipping task ':classes' as it has no actions.
:classes (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:compileTestJava (Thread[Execution worker for ':',5,main]) started.

> Task :compileTestJava
Caching disabled for task ':compileTestJava' because:
  Build cache is disabled
Task ':compileTestJava' is not up-to-date because:
  Output property 'destinationDir' file D:\DevLeon\lcidiot\build\classes\java\test has been removed.
  Output property 'destinationDir' file D:\DevLeon\lcidiot\build\classes\java\test\com has been removed.
  Output property 'destinationDir' file D:\DevLeon\lcidiot\build\classes\java\test\com\idiotleon has been removed.
The input changes require a full rebuild for incremental task ':compileTestJava'.
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with JDK Java compiler API.
Created classpath snapshot for incremental compilation in 0.019 secs. 1 duplicate classes found in classpath (see all with --debug).
:compileTestJava (Thread[Execution worker for ':',5,main]) completed. Took 0.131 secs.
:processTestResources (Thread[Execution worker for ':',5,main]) started.

> Task :processTestResources NO-SOURCE
file or directory 'D:\DevLeon\lcidiot\src\test\resources', not found
Skipping task ':processTestResources' as it has no source files and no previous output files.
:processTestResources (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:testClasses (Thread[Execution worker for ':',5,main]) started.

> Task :testClasses
Skipping task ':testClasses' as it has no actions.
:testClasses (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:test (Thread[Execution worker for ':',5,main]) started.
Gradle Test Executor 3 started executing tests.

> Task :test
Caching disabled for task ':test' because:
  Build cache is disabled
Task ':test' is not up-to-date because:
  Task has failed previously.
Starting process 'Gradle Test Executor 3'. Working directory: D:\DevLeon\lcidiot Command: D:\Software\Matrix\Java\jdk1.8.0_231\bin\java.exe -Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager -Dorg.gradle.native=false -Xmx512m -Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en -Duser.variant -ea -cp C:\Users\yanglu\.gradle\caches\6.0.1\workerMain\gradle-worker.jar worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 3'
Successfully started process 'Gradle Test Executor 3'
<===========--> 85% EXECUTING [4m 51s]                                                                                                > :test > 1 test completed
> :test > Executing test com.idiotleon.java.lc240.SolutionTests

This turned out to be an error in my solution leading to infinite loops.