snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

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

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

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


https://github.com/quarkusio/quarkus/issues/20303


$upstream:20303$