|
@@ -426,6 +426,8 @@ public class TestPread {
|
|
throws IOException {
|
|
throws IOException {
|
|
conf.setLong(DFSConfigKeys.DFS_BLOCK_SIZE_KEY, 4096);
|
|
conf.setLong(DFSConfigKeys.DFS_BLOCK_SIZE_KEY, 4096);
|
|
conf.setLong(DFSConfigKeys.DFS_CLIENT_READ_PREFETCH_SIZE_KEY, 4096);
|
|
conf.setLong(DFSConfigKeys.DFS_CLIENT_READ_PREFETCH_SIZE_KEY, 4096);
|
|
|
|
+ // Set short retry timeouts so this test runs faster
|
|
|
|
+ conf.setInt(DFSConfigKeys.DFS_CLIENT_RETRY_WINDOW_BASE, 0);
|
|
if (simulatedStorage) {
|
|
if (simulatedStorage) {
|
|
SimulatedFSDataset.setFactory(conf);
|
|
SimulatedFSDataset.setFactory(conf);
|
|
}
|
|
}
|