Skip to content

Commit

Permalink
Merge pull request #10920 from famod/issue-10885-javadoc-logging-QTRLM
Browse files Browse the repository at this point in the history
Clarify in JavaDoc that logging does not work in test LifecycleManager
  • Loading branch information
gastaldi authored Jul 23, 2020
2 parents 8cf43b6 + 2d74364 commit ae4fa2f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
* Note that when using these with QuarkusUnitTest (rather than @QuarkusTest) they run
* before the ClassLoader has been setup. This means injection may not work
* as expected.
* <p>
* Due to the very early execution in the test setup lifecycle, logging does <b>not</b>
* work in such a manager.
*/
public interface QuarkusTestResourceLifecycleManager {

Expand Down Expand Up @@ -52,7 +55,7 @@ default void inject(Object testInstance) {
/**
* If multiple Test Resources are specified,
* this control the order of which they will be executed.
*
*
* @return The order to be executed. The larger the number, the later the Resource is invoked.
*/
default int order() {
Expand Down

0 comments on commit ae4fa2f

Please sign in to comment.