HDFS-10336. TestBalancer failing intermittently because of not reseting UserGroupInformation completely. Contributed by Yiqun Lin.
This commit is contained in:
parent
ef30bf3c3f
commit
932aed64d7
|
@ -1956,6 +1956,7 @@ public class TestBalancer {
|
|||
});
|
||||
} finally {
|
||||
// Reset UGI so that other tests are not affected.
|
||||
UserGroupInformation.reset();
|
||||
UserGroupInformation.setConfiguration(new Configuration());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue