[INFO] Scanning for projects...
[INFO] 
[INFO] -----------< com.homannsoftware.examples:spring-resilience >------------
[INFO] Building spring-resilience 1.0.0
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ spring-resilience ---
[INFO] skip non existing resourceDirectory D:\CodexProjects\homannsoftware_com\blog\2026-10-07-spring-resilience\examples\src\main\resources
[INFO] 
[INFO] --- compiler:3.14.0:compile (default-compile) @ spring-resilience ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 6 source files with javac [debug release 21] to target\classes
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ spring-resilience ---
[INFO] skip non existing resourceDirectory D:\CodexProjects\homannsoftware_com\blog\2026-10-07-spring-resilience\examples\src\test\resources
[INFO] 
[INFO] --- compiler:3.14.0:testCompile (default-testCompile) @ spring-resilience ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 1 source file with javac [debug release 21] to target\test-classes
[INFO] 
[INFO] --- surefire:3.5.3:test (default-test) @ spring-resilience ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.homannsoftware.resilience.ResilienceTest
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.424 s <<< FAILURE! -- in com.homannsoftware.resilience.ResilienceTest
[ERROR] com.homannsoftware.resilience.ResilienceTest.virtualThreadsRespectLimitAndOverloadDoesNotEnterPort -- Time elapsed: 0.399 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Unexpected exception thrown: java.util.concurrent.ExecutionException: org.opentest4j.AssertionFailedError: Expected org.springframework.resilience.InvocationRejectedException to be thrown, but nothing was thrown.
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
	at org.junit.jupiter.api.AssertDoesNotThrow.createAssertionFailedError(AssertDoesNotThrow.java:84)
	at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:75)
	at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:58)
	at org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3259)
	at com.homannsoftware.resilience.ResilienceTest.virtualThreadsRespectLimitAndOverloadDoesNotEnterPort(ResilienceTest.java:94)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.util.concurrent.ExecutionException: org.opentest4j.AssertionFailedError: Expected org.springframework.resilience.InvocationRejectedException to be thrown, but nothing was thrown.
	at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)
	at com.homannsoftware.resilience.ResilienceTest.lambda$virtualThreadsRespectLimitAndOverloadDoesNotEnterPort$10(ResilienceTest.java:94)
	at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:71)
	... 6 more
Caused by: org.opentest4j.AssertionFailedError: Expected org.springframework.resilience.InvocationRejectedException to be thrown, but nothing was thrown.
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
	at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:73)
	at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
	at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3128)
	at com.homannsoftware.resilience.ResilienceTest.lambda$virtualThreadsRespectLimitAndOverloadDoesNotEnterPort$9(ResilienceTest.java:92)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.lang.VirtualThread.run(VirtualThread.java:329)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   ResilienceTest.virtualThreadsRespectLimitAndOverloadDoesNotEnterPort:94 Unexpected exception thrown: java.util.concurrent.ExecutionException: org.opentest4j.AssertionFailedError: Expected org.springframework.resilience.InvocationRejectedException to be thrown, but nothing was thrown.
[INFO] 
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.634 s
[INFO] Finished at: 2026-10-07T22:57:52+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.3:test (default-test) on project spring-resilience: There are test failures.
[ERROR] 
[ERROR] See D:\CodexProjects\homannsoftware_com\blog\2026-10-07-spring-resilience\examples\target\surefire-reports for the individual test results.
[ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
