Beata Sudi created HBASE-23670:
----------------------------------

             Summary: fix flaky TestSplitTransactionOnCluster
                 Key: HBASE-23670
                 URL: https://issues.apache.org/jira/browse/HBASE-23670
             Project: HBase
          Issue Type: Bug
            Reporter: Beata Sudi


testShutDownFixupWhenDaughterHasSplit is flaky. 

I had a look at it, it fails because the compaction isn't ready when the 
assertion is called. The function HRegion.compact() has a comment that it can 
block for a long time, do not use it for a time-sensitive thread. I think there 
should be a bit more waiting before the assertion is called (and probably the 
for loop with Thread.wait() could be improved as well)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to