HDFS-16901: Minor fix for unit test.
Signed-off-by: Owen O'Malley <oomalley@linkedin.com>
This commit is contained in:
parent
4cc33e5e37
commit
8025a60ae7
@ -2090,7 +2090,7 @@ public void testMkdirsWithCallerContext() throws IOException {
|
|||||||
public void testRealUserPropagationInCallerContext()
|
public void testRealUserPropagationInCallerContext()
|
||||||
throws IOException, InterruptedException {
|
throws IOException, InterruptedException {
|
||||||
GenericTestUtils.LogCapturer auditlog =
|
GenericTestUtils.LogCapturer auditlog =
|
||||||
GenericTestUtils.LogCapturer.captureLogs(FSNamesystem.auditLog);
|
GenericTestUtils.LogCapturer.captureLogs(FSNamesystem.AUDIT_LOG);
|
||||||
|
|
||||||
// Current callerContext is null
|
// Current callerContext is null
|
||||||
assertNull(CallerContext.getCurrent());
|
assertNull(CallerContext.getCurrent());
|
||||||
|
Loading…
Reference in New Issue
Block a user