-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-1889 Add support for verifying multiline log entry #1293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hi @llemec, first of all thank you for the contribution, acceptance test failures are related to recon, after they are fixed, it would be necessary to have a clean build before a commiter can merge the changeset, please ensure we have one. I would argue that we should check the order of the messages as well, which would not be that hard to implement neither with your approach nor with the approach I am suggesting inline. I have some simplification suggestions in the inline comments, please consider them, and if you like the idea, please include them in the PR. |
hadoop-hdds/common/src/test/java/org/apache/hadoop/ozone/audit/TestOzoneAuditLogger.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/common/src/test/java/org/apache/hadoop/ozone/audit/TestOzoneAuditLogger.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/common/src/test/java/org/apache/hadoop/ozone/audit/TestOzoneAuditLogger.java
Outdated
Show resolved
Hide resolved
|
Hi @llemec, thank you for working further on this PR, and addressing my suggestions. @vivekratnavel might be able to help with the coverage problem in the checks, I am not sure but this one seems to be a non-generic issue Besides that,
|
|
Hello @fapifta, Thank you for your review and suggestions. I am proceeding to cancel this PR and re-submit it via a clean branch, together with the checkstyle fixes and the removal of unnecessary methods. |
What changes were proposed in this pull request?
Added multi line support for Audit messages in TestOzoneAuditLogger
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-1889
How was this patch tested?
added messageIncludesMultilineException in TestOzoneAuditLogger