HDFS-16901: Minor fix for unit test.

Signed-off-by: Owen O'Malley <oomalley@linkedin.com>
This commit is contained in:
Owen O'Malley 2023-02-22 16:31:59 -08:00
parent 4cc33e5e37
commit 8025a60ae7
No known key found for this signature in database
GPG Key ID: D19EB09DAD1C5877
1 changed files with 1 additions and 1 deletions

View File

@ -2090,7 +2090,7 @@ public void testMkdirsWithCallerContext() throws IOException {
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());