You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/09/21 03:12:00 UTC

[jira] [Commented] (ROCKETMQ-256) Manually clean disk to specified watermark with message consuming progress considered

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

ASF GitHub Bot commented on ROCKETMQ-256:
-----------------------------------------

Github user dongeforever commented on a diff in the pull request:

    https://github.com/apache/incubator-rocketmq/pull/143#discussion_r140139302
  
    --- Diff: common/src/test/java/org/apache/rocketmq/common/UtilAllTest.java ---
    @@ -89,6 +89,14 @@ public void testGetDiskPartitionSpaceUsedPercent() {
             assertThat(UtilAll.getDiskPartitionSpaceUsedPercent(tmpDir)).isNotCloseTo(-1, within(0.000001));
         }
     
    +
    +    @Test
    +    public void testGetDiskPartitionSpaceUsedPercent4Home() {
    +        String tmpDir = System.getProperty("user.home");
    +        double percent = UtilAll.getDiskPartitionSpaceUsedPercent(tmpDir);
    +        System.out.println(percent);
    --- End diff --
    
    What did this unit test mean for?


> Manually clean disk to specified watermark with message consuming progress considered
> -------------------------------------------------------------------------------------
>
>                 Key: ROCKETMQ-256
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-256
>             Project: Apache RocketMQ
>          Issue Type: Improvement
>          Components: rocketmq-broker, rocketmq-store, rocketmq-tools
>    Affects Versions: 4.1.0-incubating
>            Reporter: Zhanhui Li
>            Assignee: Zhanhui Li
>




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