[ https://issues.apache.org/jira/browse/HBASE-6097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Chanan updated HBASE-6097: ---------------------------------- Attachment: HBASE-6097.patch * Attached HBASE-6097.patch * Fixes race by setting the timeout of the LogSyncerThread to a very high value so it won't affect the number of sync ops. > TestHRegion.testBatchPut is flaky on 0.92 > ----------------------------------------- > > Key: HBASE-6097 > URL: https://issues.apache.org/jira/browse/HBASE-6097 > Project: HBase > Issue Type: Bug > Components: test, wal > Affects Versions: 0.92.1 > Reporter: Gregory Chanan > Assignee: Gregory Chanan > Attachments: HBASE-6097.patch > > > If I run this test in a loop, I get failures like the following: > Error Message: > expected:<1> but was:<2> > Stack Trace: > junit.framework.AssertionFailedError: expected:<1> but was:<2> > at junit.framework.Assert.fail(Assert.java:50) > at junit.framework.Assert.failNotEquals(Assert.java:287) > at junit.framework.Assert.assertEquals(Assert.java:67) > at junit.framework.Assert.assertEquals(Assert.java:134) > at junit.framework.Assert.assertEquals(Assert.java:140) > at > org.apache.hadoop.hbase.regionserver.TestHRegion.testBatchPut(TestHRegion.java:536) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira