From 472a26d2b8a5f4c91ba851f48345d33481f5bb24 Mon Sep 17 00:00:00 2001 From: "Doroszlai, Attila" <6454655+adoroszlai@users.noreply.github.com> Date: Fri, 30 Aug 2019 21:23:25 +0200 Subject: [PATCH] HDDS-2063. Integration tests create untracked file audit.log (#1384) --- .../ozone/client/rpc/TestOzoneRpcClientForAclAuditLog.java | 2 +- .../test/resources/{log4j2.properties => auditlog.properties} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename hadoop-ozone/integration-test/src/test/resources/{log4j2.properties => auditlog.properties} (100%) 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 7c8765b6a7..ec34efe6f8 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