[ 
https://issues.apache.org/jira/browse/HDDS-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16906644#comment-16906644
 ] 

Anu Engineer commented on HDDS-1886:
------------------------------------

I have committed this patch to the trunk.  Thanks for the contribution.

> 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
>            Reporter: Dinesh Chitlangia
>            Assignee: Dinesh Chitlangia
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to