Repository: logging-log4j2
Updated Branches:
  refs/heads/master aa87e8530 -> caf8347a2


LOG4J2-1769 fix stubborn test failure


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

Branch: refs/heads/master
Commit: caf8347a2865e725236fd0038357398a34a065b2
Parents: aa87e85
Author: rpopma <rpo...@apache.org>
Authored: Mon Jan 9 07:47:14 2017 +0900
Committer: rpopma <rpo...@apache.org>
Committed: Mon Jan 9 07:47:14 2017 +0900

----------------------------------------------------------------------
 .../log4j/core/layout/ConcurrentLoggingWithJsonLayoutTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/caf8347a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/ConcurrentLoggingWithJsonLayoutTest.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/ConcurrentLoggingWithJsonLayoutTest.java
 
b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/ConcurrentLoggingWithJsonLayoutTest.java
index 7b4bb4c..3dec17e 100644
--- 
a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/ConcurrentLoggingWithJsonLayoutTest.java
+++ 
b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/ConcurrentLoggingWithJsonLayoutTest.java
@@ -83,7 +83,7 @@ public class ConcurrentLoggingWithJsonLayoutTest {
         }
 
         // simple test to ensure content is not corrupted
-        final List<String> lines = Files.readAllLines(Paths.get(PATH), 
Charset.defaultCharset());
+        final List<String> lines = Files.readAllLines(new File(PATH).toPath(), 
Charset.defaultCharset());
         for (final String line : lines) {
             assertThat(line, startsWith("{\"timeMillis\":"));
             assertThat(line, endsWith("\"threadPriority\":5}"));

Reply via email to