HBASE-14815 TestMobExportSnapshot.testExportFailure timeout occasionally (Heng Chen)
This commit is contained in:
parent
5ebd7660a9
commit
b2187c31ab
|
@ -344,7 +344,9 @@ public class TestExportSnapshot {
|
|||
Configuration conf = new Configuration(TEST_UTIL.getConfiguration());
|
||||
conf.setBoolean(ExportSnapshot.CONF_TEST_FAILURE, true);
|
||||
conf.setBoolean(ExportSnapshot.CONF_TEST_RETRY, retry);
|
||||
|
||||
if (!retry) {
|
||||
conf.setInt("mapreduce.map.maxattempts", 3);
|
||||
}
|
||||
// Export Snapshot
|
||||
Path sourceDir = TEST_UTIL.getHBaseCluster().getMaster().getMasterFileSystem().getRootDir();
|
||||
int res = ExportSnapshot.innerMain(conf, new String[] {
|
||||
|
|
Loading…
Reference in New Issue