You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Mukul Kumar Singh (JIRA)" <ji...@apache.org> on 2017/12/15 06:32:00 UTC

[jira] [Commented] (RATIS-172) TestBatchAppend fails with timeout

    [ https://issues.apache.org/jira/browse/RATIS-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292101#comment-16292101 ] 

Mukul Kumar Singh commented on RATIS-172:
-----------------------------------------

TestBatchAppend fails because of the following change. Reverting these lines fixes the test.

{code}
-      if (totalSize + entrySize <= maxBufferSize) {
-        buf.add(entry);
-        totalSize += entrySize;
+      buf.add(entry);
+      totalSize += entrySize;
+      if (totalSize <= maxBufferSize) {
{code}

> TestBatchAppend fails with timeout
> ----------------------------------
>
>                 Key: RATIS-172
>                 URL: https://issues.apache.org/jira/browse/RATIS-172
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Mukul Kumar Singh
>
> After RATIS-161, TestBatchAppend fails with timeout.
> Tried to reset the HEAD to before RATIS-161. TestBatchAppend could pass successfully.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)