HBASE-25680 Non-idempotent test in TestReplicationHFileCleaner (#2984)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
11222fc4df
commit
44d5624908
|
@ -119,6 +119,8 @@ public class TestReplicationHFileCleaner {
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.warn("Failed to delete files recursively from path " + root);
|
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);
|
rp.getPeerStorage().removePeer(peerId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue