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

ASF GitHub Bot commented on DL-167:
-----------------------------------

GitHub user xieliang opened a pull request:

    https://github.com/apache/incubator-distributedlog/pull/94

    DL-167 : fix testCalculateUnequalWeight computing corner case

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/xieliang/incubator-distributedlog 
DL-167-fix-testCalculateUnequalWeight

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-distributedlog/pull/94.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #94
    
----
commit 09447cada3acfb3c9cb02012cab945fbd8c8dc5c
Author: xieliang <[email protected]>
Date:   2016-12-30T08:02:08Z

    fix testCalculateUnequalWeight computing corner case

----


> Fix flaky TestLeastLoadPlacementPolicy#testCalculateUnequalWeight
> -----------------------------------------------------------------
>
>                 Key: DL-167
>                 URL: https://issues.apache.org/jira/browse/DL-167
>             Project: DistributedLog
>          Issue Type: Test
>          Components: tests
>    Affects Versions: 0.4.0
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>
> From 
> https://builds.apache.org/job/distributedlog-precommit-pullrequest/63/com.twitter$distributedlog-service/testReport/com.twitter.distributedlog.service.placement/TestLeastLoadPlacementPolicy/testCalculateUnequalWeight/
>  , we can see numStreams = 1, therefore highestLoadSeen - lowestLoadSeen 
> should be equals to maxLoad.get()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to