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

Ted Yu commented on HBASE-7717:
-------------------------------

lgtm.
{code}
+    assertTrue("Table not online", cluster.getRegions(tableName).size() != 0);
{code}
Mind including tableName in the assert message ?
                
> Wait until regions are assigned in TestSplitTransactionOnCluster
> ----------------------------------------------------------------
>
>                 Key: HBASE-7717
>                 URL: https://issues.apache.org/jira/browse/HBASE-7717
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>             Fix For: 0.96.0, 0.94.5
>
>         Attachments: 7717-0.94-combined.txt, 7717-0.94.txt, 7717-0.94-v1.txt, 
> 7717-0.94-v2.txt, 7717-0.94-v3.txt, 7717-0.96.txt, 7717-addendum-0.94.txt, 
> 7717-alternate-94.txt, 7717-alternate-trunk.txt, 7717-trunk-v2.txt, 
> 7717-trunk-v3.txt, 
> TEST-org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster.xml
>
>
> I've seen various failures where a table is created in the tests and then all 
> regions are retrieved from the cluster, where the number of returned regions 
> is 0, because the region have not been assigned, yet, or the AM does not know 
> about them, yet.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to