HBASE-27125 The batch size of cleaning expired mob files should have an upper bound(addendum) (#4553)

fix ut error
This commit is contained in:
Xiaolin Ha 2022-06-20 11:44:31 +08:00 committed by GitHub
parent 15a88efb17
commit 51e8f6e6dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -149,9 +149,9 @@ public class TestExpiredMobFileCleaner {
String f2 = secondFiles[1].getPath().getName();
String secondFile = f1.equals(firstFile) ? f2 : f1;
ts = EnvironmentEdgeManager.currentTime() - 4 * secondsOfDay() * 1000; // 4 days before
ts = System.currentTimeMillis() - 4 * secondsOfDay() * 1000; // 4 days before
putKVAndFlush(table, row3, dummyData, ts);
ts = EnvironmentEdgeManager.currentTime() - 4 * secondsOfDay() * 1000; // 4 days before
ts = System.currentTimeMillis() - 4 * secondsOfDay() * 1000; // 4 days before
putKVAndFlush(table, row3, dummyData, ts);
FileStatus[] thirdFiles = TEST_UTIL.getTestFileSystem().listStatus(mobDirPath);
// now there are 4 mob files