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

Logging doesn't work on integration test (@QuarkusIntegrationTest) #428

Closed
snowdrop-bot opened this issue Sep 23, 2021 · 0 comments
Closed
Assignees
Labels
7 - Community development upstream/closed The issue has been closed in the upstream repository

Comments

@snowdrop-bot
Copy link
Collaborator

Describe the bug

When running integration tests in Quarkus, ie. test classes annotated with @QuarkusIntegrationTest, logging doesn't work for any of the classes used in both the test and the quarkus app itself. Nothing is displayed in the logs.

For maven-failsafe-plugin plugin, I applied the same configuration I followed for the @QuarkusTest annotated classes which work fine, but in this case, the same configuration applied to "maven-failsafe-plugin" doesn't seem to work.

I followed this doc https://quarkus.io/guides/logging#how-to-configure-logging-for-quarkustest

Expected behavior

Logging should be displayed properly either in the logs or in the console for both integration test and app classes when running integration test (@QuarkusIntegrationTest)

Actual behavior

No log is shown

How to Reproduce?

Reproducer:

  1. Run mvn clean install on the attached reproducer.
  2. Only logs for the @QuarkusTest class is displayed. No log is show for the @QuarkusIntegrationTest

reproducer.zip

Output of uname -a or ver

Linux antferna.remote.csb 4.18.0-305.17.1.el8_4.x86_64 #1 SMP Mon Aug 30 07:26:31 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux

Output of java -version

openjdk version "11.0.12" 2021-07-20 LTS

GraalVM version (if different from Java)

none

Quarkus version or git rev

2.2.3.Final

Build tool (ie. output of mvnw --version or gradlew --version)

maven 3.6.3

Additional information

No response


quarkusio#20303


$upstream:20303$

@snowdrop-bot snowdrop-bot added the upstream/closed The issue has been closed in the upstream repository label Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7 - Community development upstream/closed The issue has been closed in the upstream repository
Projects
None yet
Development

No branches or pull requests

2 participants