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/04/06 20:11:51 UTC

[15/18] logging-log4j2 git commit: LOG4J2-1343 minor test update: call the right method

LOG4J2-1343 minor test update: call the right method


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

Branch: refs/heads/master
Commit: 8b7028a9e6f7c93bd2a3fc2881d0ae7e32581aa7
Parents: 4dc2163
Author: rpopma <rp...@apache.org>
Authored: Thu Apr 7 03:08:27 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Thu Apr 7 03:08:27 2016 +0900

----------------------------------------------------------------------
 .../logging/log4j/core/appender/MemoryMappedFileManagerTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/8b7028a9/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManagerTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManagerTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManagerTest.java
index 828be94..4b06b52 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManagerTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManagerTest.java
@@ -30,7 +30,7 @@ import org.junit.Test;
 
 /**
  * Tests the MemoryMappedFileManager class.
- * 
+ *
  * @since 2.1
  */
 public class MemoryMappedFileManagerTest {
@@ -51,7 +51,7 @@ public class MemoryMappedFileManagerTest {
 
         for (int i = 0; i < 1000; i++) {
             msg = ("Message " + i + "\n").getBytes();
-            manager.write(msg, 0, msg.length);
+            manager.write(msg, 0, msg.length, false);
         }
 
         manager.release();