hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Chitlangia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-1886) Use ArrayList#clear to address audit failure scenario
Date Tue, 13 Aug 2019 21:55:00 GMT

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

Dinesh Chitlangia commented on HDDS-1886:
-----------------------------------------

[~adoroszlai] thanks for reviewing, [~anu] thanks for commit.

> 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
>             Fix For: 0.5.0
>
>          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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message