You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/09/08 14:51:19 UTC

[50/50] [abbrv] logging-log4j2 git commit: LOG4J2-1349 add info to test output

LOG4J2-1349 add info to test output


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/523df26c
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/523df26c
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/523df26c

Branch: refs/heads/LOG4J2-1349-gcfree-threadcontext
Commit: 523df26c15f75655f73c7bf39a3fdff38c23352e
Parents: 822f106
Author: rpopma <rp...@apache.org>
Authored: Thu Sep 8 23:50:21 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Thu Sep 8 23:50:21 2016 +0900

----------------------------------------------------------------------
 .../async/AsyncLoggerAllThreadContextImplementationsTest.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/523df26c/log4j-core/src/test/java/org/apache/logging/log4j/core/async/AsyncLoggerAllThreadContextImplementationsTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/async/AsyncLoggerAllThreadContextImplementationsTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/async/AsyncLoggerAllThreadContextImplementationsTest.java
index 58b9bec..2bbee67 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/async/AsyncLoggerAllThreadContextImplementationsTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/async/AsyncLoggerAllThreadContextImplementationsTest.java
@@ -164,7 +164,8 @@ public class AsyncLoggerAllThreadContextImplementationsTest {
     }
 
     private void checkResult(final File file) throws IOException {
-        final String contextDesc = contextImpl + " " + contextImpl.implClassSimpleName();
+        final String contextDesc = contextImpl + " " + contextImpl.implClassSimpleName() + " "
+                + LogManager.getContext(false).getClass().getSimpleName();
         try (final BufferedReader reader = new BufferedReader(new FileReader(file))) {
             String expect = null;
             for (int i = 0; i < LINE_COUNT; i++) {