Class TimeoutExtensionDispatcher

java.lang.Object
org.apache.maven.plugin.surefire.extensions.timeout.TimeoutExtensionDispatcher

public final class TimeoutExtensionDispatcher extends Object
Discovers and invokes ForkedProcessTimeoutExtension instances when a forked test JVM is killed due to forkedProcessTimeoutInSeconds.

Extensions are loaded once per Surefire run via ServiceLoader from the plugin classloader (the same classloader that loaded the ForkedProcessTimeoutExtension interface).

Each extension callback is invoked on an internal executor and capped at PER_CALLBACK_TIMEOUT_SECONDS seconds; any thrown Throwable or timeout is logged at warn level and never affects the test result.

Since:
3.6.0