mnpoonia commented on code in PR #7613:
URL: https://github.com/apache/hbase/pull/7613#discussion_r2679838066
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/bucket/TestVerifyBucketCacheFile.java:
##########
@@ -138,7 +137,8 @@ public void testRetrieveFromFile() throws Exception {
recoveredBucketCache =
new BucketCache("file:" + testDir + "/bucket.cache", capacitySize,
constructedBlockSize,
constructedBlockSizes, writeThreads, writerQLen, testDir +
"/bucket.persistence");
- waitPersistentCacheValidation(conf, bucketCache);
+ assertTrue(recoveredBucketCache.waitForCacheInitialization(10000));
+ waitPersistentCacheValidation(conf, recoveredBucketCache);
Review Comment:
Is this the main fix. We were using a deleted cache instead of the
recoveredCache?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]