Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ public void testPrefetchWithDelay() throws Exception {
HFileContext context = new HFileContextBuilder().withCompression(Compression.Algorithm.GZ)
.withBlockSize(DATA_BLOCK_SIZE).build();
Path storeFile = writeStoreFile("TestPrefetchWithDelay", context);
HFile.Reader reader = HFile.createReader(fs, storeFile, cacheConf, true, conf);
long startTime = System.currentTimeMillis();
HFile.Reader reader = HFile.createReader(fs, storeFile, cacheConf, true, conf);

// Wait for 20 seconds, no thread should start prefetch
Thread.sleep(20000);
Expand Down