[ https://issues.apache.org/jira/browse/HADOOP-14277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957059#comment-15957059 ]
Weiwei Yang commented on HADOOP-14277: -------------------------------------- Thanks [~ebadger] for the suggestions, sounds good to me. Let me assign this one to myself, I will try the mockito approach. This is not my top priority task, if you want an immediate fix, feel free to assign this back. Thank you! > TestTrash.testTrashRestarts is flaky > ------------------------------------ > > Key: HADOOP-14277 > URL: https://issues.apache.org/jira/browse/HADOOP-14277 > Project: Hadoop Common > Issue Type: Bug > Reporter: Eric Badger > Assignee: Weiwei Yang > > {noformat} > junit.framework.AssertionFailedError: Expected num of checkpoints is 2, but > actual is 3 expected:<2> but was:<3> > at junit.framework.Assert.fail(Assert.java:57) > at junit.framework.Assert.failNotEquals(Assert.java:329) > at junit.framework.Assert.assertEquals(Assert.java:78) > at junit.framework.Assert.assertEquals(Assert.java:234) > at junit.framework.TestCase.assertEquals(TestCase.java:401) > at > org.apache.hadoop.fs.TestTrash.verifyAuditableTrashEmptier(TestTrash.java:892) > at org.apache.hadoop.fs.TestTrash.testTrashRestarts(TestTrash.java:593) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org