You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Beata Sudi (Jira)" <ji...@apache.org> on 2020/01/09 12:33:00 UTC

[jira] [Created] (HBASE-23670) fix flaky TestSplitTransactionOnCluster

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)