HBASE-25680 Non-idempotent test in TestReplicationHFileCleaner (#2984)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
lzx404243 2021-08-13 23:00:52 -04:00 committed by Duo Zhang
parent 8fced2d7f8
commit 627e0d61ba
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,8 @@ public class TestReplicationHFileCleaner {
} catch (IOException e) {
LOG.warn("Failed to delete files recursively from path " + root);
}
// Remove all HFileRefs (if any)
rq.removeHFileRefs(peerId, rq.getReplicableHFiles(peerId));
rp.getPeerStorage().removePeer(peerId);
}