HDFS-16154. TestMiniJournalCluster failing intermittently because of not reseting UserGroupInformation completely (#3270)

Co-authored-by: wangzhaohui8 <wangzhaohui8@jd.com>
Reviewed-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit e85c44657c)
This commit is contained in:
wangzhaohui 2021-08-06 18:23:00 +08:00 committed by Wei-Chiu Chuang
parent 7659b62682
commit 7068e18842
No known key found for this signature in database
GPG Key ID: B362E1C021854B9D
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ public static void destroy() throws Exception {
}
FileUtil.fullyDelete(baseDir);
KeyStoreTestUtil.cleanupSSLConfig(keystoresDir, sslConfDir);
UserGroupInformation.reset();
}
@Before