You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Dinesh Chitlangia (JIRA)" <ji...@apache.org> on 2019/08/01 06:04:00 UTC

[jira] [Created] (HDDS-1886) Use ArrayList#clear to address audit failure scenario

Dinesh Chitlangia created HDDS-1886:
---------------------------------------

             Summary: Use ArrayList#clear to address audit failure scenario
                 Key: HDDS-1886
                 URL: https://issues.apache.org/jira/browse/HDDS-1886
             Project: Hadoop Distributed Data Store
          Issue Type: Test
          Components: test
    Affects Versions: 0.4.0
            Reporter: Dinesh Chitlangia
            Assignee: Dinesh Chitlangia


TestOzoneAuditLogger makes use of ArrayList#remove to clear the log file in between test runs.

When writing tests in future for more failures scenarios, the tests will fail if the log entry has multi-line stack trace in audit logs.

This jira aims to use ArrayList#clear to make the test future proof.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org