[ 
https://issues.apache.org/jira/browse/HBASE-8961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Daniel Cryans updated HBASE-8961:
--------------------------------------

    Attachment: HBASE-8961-v3.patch

Test failure in small tests was due to the fact that if you reuse a Scan 
object, it retains its latest state and here instead of having 1 region I added 
a lot more, but the scanner was just reading the last region... which was 
empty. So I'm re-creating the Scan objects now, as it should be.
                
> Make TestReplicationQueueFailover less integration-y by splitting it up
> -----------------------------------------------------------------------
>
>                 Key: HBASE-8961
>                 URL: https://issues.apache.org/jira/browse/HBASE-8961
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.98.0, 0.95.2
>
>         Attachments: HBASE-8961.patch, HBASE-8961-v2.patch, 
> HBASE-8961-v3.patch
>
>
> Currently TestReplicationQueueFailover.queueFailover does this:
> - start loading a table
> - kill a RS on the master midway
> - kill a a RS on the slave a few seconds after that
> - wait for it all to blow over
> - count rows on each cluster
> I'm going to split the killing into two different tests. It will make it more 
> unit testy and less trying to cover ITish test cases.
> TestReplicationQueueFailoverCompressed was also doing queueFailover, so I'm 
> going to modify it to just run the killing of a master RS.

--
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