You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by bh...@apache.org on 2019/08/30 19:23:34 UTC

[hadoop] branch trunk updated: HDDS-2063. Integration tests create untracked file audit.log (#1384)

This is an automated email from the ASF dual-hosted git repository.

bharat pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 472a26d  HDDS-2063. Integration tests create untracked file audit.log (#1384)
472a26d is described below

commit 472a26d2b8a5f4c91ba851f48345d33481f5bb24
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Fri Aug 30 21:23:25 2019 +0200

    HDDS-2063. Integration tests create untracked file audit.log (#1384)
---
 .../hadoop/ozone/client/rpc/TestOzoneRpcClientForAclAuditLog.java       | 2 +-
 .../src/test/resources/{log4j2.properties => auditlog.properties}       | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneRpcClientForAclAuditLog.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneRpcClientForAclAuditLog.java
index 7c8765b..ec34efe 100644
--- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneRpcClientForAclAuditLog.java
+++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneRpcClientForAclAuditLog.java
@@ -102,7 +102,7 @@ public class TestOzoneRpcClientForAclAuditLog {
    */
   @BeforeClass
   public static void init() throws Exception {
-    System.setProperty("log4j.configurationFile", "log4j2.properties");
+    System.setProperty("log4j.configurationFile", "auditlog.properties");
     ugi = UserGroupInformation.getCurrentUser();
     OzoneConfiguration conf = new OzoneConfiguration();
     conf.setBoolean(OZONE_ACL_ENABLED, true);
diff --git a/hadoop-ozone/integration-test/src/test/resources/log4j2.properties b/hadoop-ozone/integration-test/src/test/resources/auditlog.properties
similarity index 100%
rename from hadoop-ozone/integration-test/src/test/resources/log4j2.properties
rename to hadoop-ozone/integration-test/src/test/resources/auditlog.properties


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