hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14200) Separate some subtests of TestStochasticLoadBalancer into TestStochasticLoadBalancer2
Date Mon, 10 Aug 2015 05:07:46 GMT

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

Jerry He commented on HBASE-14200:
----------------------------------

After the move, the protected/private methods testWithCluster and createServerMap are duplicated
in two test files?
Is there any way to avoid duplicating the same code?

> Separate some subtests of TestStochasticLoadBalancer into TestStochasticLoadBalancer2
> -------------------------------------------------------------------------------------
>
>                 Key: HBASE-14200
>                 URL: https://issues.apache.org/jira/browse/HBASE-14200
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 2.0.0, 1.3.0
>
>         Attachments: 14200-v1.txt
>
>
> More and more functionality is added to StochasticLoadBalancer , making TestStochasticLoadBalancer
run longer.
> From https://builds.apache.org/job/PreCommit-HBASE-Build/15011/testReport/org.apache.hadoop.hbase.master.balancer/TestStochasticLoadBalancer/
where total runtime was 14 min, here are the longest subtests:
> testRegionReplicasOnLargeCluster: 1 min 34 sec
> testRegionReplicasOnMidCluster: 1 min 31 sec
> testRegionReplicasOnMidClusterHighReplication: 2 min
> testRegionReplicationOnMidClusterReplicationGreaterThanNumNodes: 2 min 25 sec
> This issue is to separate out the above subtests into TestStochasticLoadBalancer2, giving
each of the tests around 7 min runtime.



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

Mime
View raw message