瀏覽代碼

HDFS-16901: Minor fix for unit test.

Signed-off-by: Owen O'Malley <oomalley@linkedin.com>
Owen O'Malley 2 年之前
父節點
當前提交
8025a60ae7

+ 1 - 1
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());