Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last log line shown #192

Open
pluttrell opened this issue Mar 4, 2021 · 0 comments
Open

Last log line shown #192

pluttrell opened this issue Mar 4, 2021 · 0 comments
Assignees
Labels

Comments

@pluttrell
Copy link

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'
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants