Andreas Neumann created TEPHRA-255:
--------------------------------------

             Summary: PruneUpperBoundWriterSupplierTest is flaky
                 Key: TEPHRA-255
                 URL: https://issues.apache.org/jira/browse/TEPHRA-255
             Project: Tephra
          Issue Type: Bug
    Affects Versions: 0.13.0-incubating
            Reporter: Andreas Neumann
            Assignee: Poorna Chandra


The travis build, on rare occasions, fails with:
{noformat}
testSupplier(org.apache.tephra.hbase.txprune.PruneUpperBoundWriterSupplierTest) 
 Time elapsed: 2.599 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertFalse(Assert.java:64)
        at org.junit.Assert.assertFalse(Assert.java:74)
        at 
org.apache.tephra.hbase.txprune.PruneUpperBoundWriterSupplierTest.testSupplier(PruneUpperBoundWriterSupplierTest.java:120)
{noformat}
This looks like a race between the shutting down the writer and asserting that 
it has shut down. 
It may be caused by the fact that upon shutdown(), the PruneUpperBoundWriter 
gives its flush thread only 1 ms to join. In slow test environments, that may 
not be sufficient.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to