Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5882

TestAuditLogs is flaky

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      TestAuditLogs fails sometimes:

      Running org.apache.hadoop.hdfs.server.namenode.TestAuditLogs
      Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 37.913 sec <<< FAILURE! - in org.apache.hadoop.hdfs.server.namenode.TestAuditLogs
      testAuditAllowedStat[1](org.apache.hadoop.hdfs.server.namenode.TestAuditLogs)  Time elapsed: 2.085 sec  <<< FAILURE!
      java.lang.AssertionError: null
      	at org.junit.Assert.fail(Assert.java:92)
      	at org.junit.Assert.assertTrue(Assert.java:43)
      	at org.junit.Assert.assertNotNull(Assert.java:526)
      	at org.junit.Assert.assertNotNull(Assert.java:537)
      	at org.apache.hadoop.hdfs.server.namenode.TestAuditLogs.verifyAuditLogsRepeat(TestAuditLogs.java:312)
      	at org.apache.hadoop.hdfs.server.namenode.TestAuditLogs.verifyAuditLogs(TestAuditLogs.java:295)
      	at org.apache.hadoop.hdfs.server.namenode.TestAuditLogs.testAuditAllowedStat(TestAuditLogs.java:163)
      

      Attachments

        1. hdfs-5882.patch
          1 kB
          Jimmy Xiang
        2. hdfs-5882_v2.patch
          1 kB
          Jimmy Xiang

        Activity

          People

            jxiang Jimmy Xiang
            jxiang Jimmy Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: