fix TestBlockScanner.testMultipleBlockPoolScanning
@@ -640,14 +640,9 @@ public void testMultipleBlockPoolScanning() throws Exception {
// We scan 5 bytes per file (1 byte in file, 4 bytes of checksum)
final int BYTES_SCANNED_PER_FILE = 5;
- final int NUM_FILES[] = new int[] { 1, 5, 10 };
- int TOTAL_FILES = 0;
- for (int i = 0; i < NUM_FILES.length; i++) {
- TOTAL_FILES += NUM_FILES[i];
- }
- ctx.createFiles(0, NUM_FILES[0], 1);
- ctx.createFiles(0, NUM_FILES[1], 1);
- ctx.createFiles(0, NUM_FILES[2], 1);
+ int TOTAL_FILES = 16;
+ ctx.createFiles(0, TOTAL_FILES, 1);
+
// start scanning
final TestScanResultHandler.Info info =
