You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sz...@apache.org on 2017/12/18 01:58:55 UTC
incubator-ratis git commit: RATIS-172. TestBatchAppend fails with
timeout. Contributed by Mukul Kumar Singh
Repository: incubator-ratis
Updated Branches:
refs/heads/master 2b8467ea9 -> b9e9e18dd
RATIS-172. TestBatchAppend fails with timeout. Contributed by Mukul Kumar Singh
Project: http://git-wip-us.apache.org/repos/asf/incubator-ratis/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ratis/commit/b9e9e18d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ratis/tree/b9e9e18d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ratis/diff/b9e9e18d
Branch: refs/heads/master
Commit: b9e9e18dd94a2c9b3d1308c553a3e3022b2d5fd1
Parents: 2b8467e
Author: Tsz-Wo Nicholas Sze <sz...@hortonworks.com>
Authored: Mon Dec 18 09:57:10 2017 +0800
Committer: Tsz-Wo Nicholas Sze <sz...@hortonworks.com>
Committed: Mon Dec 18 09:57:10 2017 +0800
----------------------------------------------------------------------
ratis-examples/src/test/java/org/apache/ratis/TestBatchAppend.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/b9e9e18d/ratis-examples/src/test/java/org/apache/ratis/TestBatchAppend.java
----------------------------------------------------------------------
diff --git a/ratis-examples/src/test/java/org/apache/ratis/TestBatchAppend.java b/ratis-examples/src/test/java/org/apache/ratis/TestBatchAppend.java
index a8c9c08..cf22032 100644
--- a/ratis-examples/src/test/java/org/apache/ratis/TestBatchAppend.java
+++ b/ratis-examples/src/test/java/org/apache/ratis/TestBatchAppend.java
@@ -63,7 +63,7 @@ public class TestBatchAppend extends BaseTest {
// enable batch appending
RaftServerConfigKeys.Log.Appender.setBatchEnabled(prop, true);
// set batch appending buffer size to 4KB
- RaftServerConfigKeys.Log.Appender.setBufferCapacity(prop, SizeInBytes.valueOf("4KB"));
+ RaftServerConfigKeys.Log.Appender.setBufferCapacity(prop, SizeInBytes.valueOf("8KB"));
return ParameterizedBaseTest.getMiniRaftClusters(prop, 3);
}