Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1161

Test case feedFeedBasePathExists fails intermittently

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.1
    • 0.6.1
    • retention
    • None

    Description

      Test case testFeedBasePathExists in FeedEvictorTest class fails intermittently when number of directories deleted do not match with expected output in following Assert statement.

      Assert.assertEquals((beforeDelCount - afterDelCount), 11);
      

      testFeedBasePathExists(org.apache.falcon.retention.FeedEvictorTest) Time elapsed: 0.299 sec <<< FAILURE!
      java.lang.AssertionError: expected:<11> but was:<12>
      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.testFeedBasePathExists(FeedEvictorTest.java:452)

      Attachments

        1. FALCON-1161.patch
          1 kB
          Peeyush Bishnoi
        2. FALCON-1161.v1.patch
          2 kB
          Peeyush Bishnoi
        3. FALCON-1161-v2.patch
          7 kB
          Suhas Vasu

        Issue Links

          Activity

            People

              suhas.ysr Suhas Vasu
              peeyushb Peeyush Bishnoi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: