From 8025a60ae79382b8885aa9619fed9fa2cd1b62b8 Mon Sep 17 00:00:00 2001 From: Owen O'Malley Date: Wed, 22 Feb 2023 16:31:59 -0800 Subject: [PATCH] HDFS-16901: Minor fix for unit test. Signed-off-by: Owen O'Malley --- .../hadoop/hdfs/server/federation/router/TestRouterRpc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterRpc.java b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterRpc.java index b2facee8c91..d5e7f7173fc 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterRpc.java +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterRpc.java @@ -2090,7 +2090,7 @@ public class TestRouterRpc { public void testRealUserPropagationInCallerContext() throws IOException, InterruptedException { GenericTestUtils.LogCapturer auditlog = - GenericTestUtils.LogCapturer.captureLogs(FSNamesystem.auditLog); + GenericTestUtils.LogCapturer.captureLogs(FSNamesystem.AUDIT_LOG); // Current callerContext is null assertNull(CallerContext.getCurrent());