Skip to content
Permalink
Browse files
Fix testCompactionPersistence do not cleanup created directory (#3207)
  • Loading branch information
hangc0276 committed Apr 15, 2022
1 parent e937ae9 commit 7c8930330da3c20747206ef101a497dc58ab0547
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1008,8 +1008,8 @@ public void testCompactionPersistence() throws Exception {
* purpose.
*/
newBookieConf.setMetadataServiceUri(null);
String entryLogCachePath = newBookieConf.getGcEntryLogMetadataCachePath();
newBookieConf.setGcEntryLogMetadataCachePath(entryLogCachePath + "-bk2");
String entryLogCachePath = tmpDirs.createNew("entry", "bk2").getAbsolutePath();
newBookieConf.setGcEntryLogMetadataCachePath(entryLogCachePath);
Bookie newbookie = new TestBookieImpl(newBookieConf);

DigestManager digestManager = DigestManager.instantiate(ledgerId, passwdBytes,

0 comments on commit 7c89303

Please sign in to comment.