[
https://issues.apache.org/jira/browse/FALCON-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498106#comment-14498106
]
Peeyush Bishnoi commented on FALCON-1160:
-----------------------------------------
I have observed that most of the time the test case "testEvictionWithEmptyDirs"
pass if number of directories deleted match to the expected output of the
Assert statement else it get fail, if don't match.
{code}
Assert.assertEquals((beforeDelCount - afterDelCount), 19);
{code}
Failure of this test case due to this Assert statement is intermittent.
[~shaik.idris] Is this Assert statement to count the number of deleted
directories really required. This test case has been re-enabled as part of
FALCON-1146.
> Falcon build #631 failed due to test case failure
> -------------------------------------------------
>
> Key: FALCON-1160
> URL: https://issues.apache.org/jira/browse/FALCON-1160
> Project: Falcon
> Issue Type: Bug
> Components: retention
> Reporter: Peeyush Bishnoi
>
> Apache Facon build #631 failed with issue in test case
> testEvictionWithEmptyDirs.
> java.lang.AssertionError: expected:<19> but was:<18>
> at org.testng.Assert.fail(Assert.java:89)
> at org.testng.Assert.failNotEquals(Assert.java:489)
> at org.testng.Assert.assertEquals(Assert.java:118)
> at org.testng.Assert.assertEquals(Assert.java:260)
> at org.testng.Assert.assertEquals(Assert.java:270)
> at
> org.apache.falcon.retention.FeedEvictorTest.testEvictionWithEmptyDirs(FeedEvictorTest.java:405)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)