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

Mikhail Antonov commented on HBASE-13904:
-----------------------------------------

I think here's problem, at least in my environment - looks like many individual 
tests in this class fail if started individually (meaning, setup in beforeClass 
and before isn't sufficient, as connection doesn't have required methods mocked 
properly), but when whole class is started the first test to run is luckily 
testSSHTimesOutOpeningRegionTransition, which replaces the connection in use by 
properly mocked one. 

Testing the patch now.

> TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode 
> failing consistently on branch-1.1
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-13904
>                 URL: https://issues.apache.org/jira/browse/HBASE-13904
>             Project: HBase
>          Issue Type: Bug
>          Components: master, Region Assignment, test
>    Affects Versions: 1.1.1
>            Reporter: Nick Dimiduk
>            Assignee: Mikhail Antonov
>            Priority: Critical
>             Fix For: 1.1.1
>
>         Attachments: HBASE-13904-mantonov_running_whole_class.txt, 
> org.apache.hadoop.hbase.master.TestAssignmentManager-output.txt
>
>
> {noformat}
> $ JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79.x86_64 
> ../apache-maven-3.3.3/bin/mvn -PrunAllTests -DreuseForks=false clean install 
> -Dmaven.test.redirectTestOutputToFile=true 
> -Dsurefire.rerunFailingTestsCount=4 -Dit.test=noItTest
> ...
> Tests in error:
> org.apache.hadoop.hbase.master.TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode(org.apache.hadoop.hbase.master.TestAssignmentManager)
>   Run 1: 
> TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode:368 »
>   Run 2: 
> TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode:335 »
>   Run 3: 
> TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode:335 »
>   Run 4: 
> TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode:335 »
>   Run 5: 
> TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode:335 »
> {noformat}
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.hadoop.hbase.master.TestAssignmentManager
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 393.384 sec 
> <<< FAILURE! - in org.apache.hadoop.hbase.master.TestAssignmentManager
> testBalanceOnMasterFailoverScenarioWithOfflineNode(org.apache.hadoop.hbase.master.TestAssignmentManager)
>   Time elapsed: 57.873 sec  <<< ERROR!
> java.lang.Exception: test timed out after 60000 milliseconds
>         at java.lang.Thread.sleep(Native Method)
>         at 
> org.apache.hadoop.hbase.master.TestAssignmentManager.testBalanceOnMasterFailoverScenarioWithOfflineNode(TestAssignmentManager.java:335)
> {noformat}



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

Reply via email to