Last log line shown
pluttrell opened this issue · 0 comments
pluttrell commented
Description
The last log line shows up right after the test output for server shutdown log messages, whereas all other log lines are suppressed.
I've noticed this with two different Spring Boot starters that start servers on random ports during test execution and then stop the server as part of the test shutdown process. The thread name in the log output is extShutdownHook
and the message is something like Server shutdown.
One such starter is: https://github.com/yidongnan/grpc-spring-boot-starter.
Versions
- Test logger version: 2.1.1
- Gradle version: 6.8.3
- Java version: 11.0.10
Type of test being run
jUnit 5 with Spring Boot
Test logger configuration
testlogger {
theme 'mocha-parallel'
}