HBASE-24131 : TestExportSnapshot.testExportFileSystemState() changes with correct arg (ADDENDUM)

This commit is contained in:
Viraj Jasani 2020-04-09 10:30:02 +05:30
parent eb7df0498c
commit 2907260204
No known key found for this signature in database
GPG Key ID: E906DFF511D3E5DB
1 changed files with 4 additions and 6 deletions

View File

@ -26,7 +26,6 @@ import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.Admin;
import org.apache.hadoop.hbase.testclassification.LargeTests;
import org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests;
import org.apache.hadoop.hbase.util.Bytes;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
@ -120,9 +119,8 @@ public class TestExportSnapshotAdjunct {
conf.setInt(ExportSnapshot.Testing.CONF_TEST_FAILURE_COUNT, 2);
conf.setInt("mapreduce.map.maxattempts", 3);
TestExportSnapshot.testExportFileSystemState(conf, tableName,
Bytes.toBytes(snapshotName), Bytes.toBytes(snapshotName),
tableNumFiles, TEST_UTIL.getDefaultRootDirPath(), copyDir, true,
null, true);
snapshotName, snapshotName, tableNumFiles, TEST_UTIL.getDefaultRootDirPath(),
copyDir, true, null, true);
}
/**
@ -138,7 +136,7 @@ public class TestExportSnapshotAdjunct {
conf.setInt(ExportSnapshot.Testing.CONF_TEST_FAILURE_COUNT, 4);
conf.setInt("mapreduce.map.maxattempts", 3);
TestExportSnapshot.testExportFileSystemState(conf, tableName,
Bytes.toBytes(snapshotName), Bytes.toBytes(snapshotName),
tableNumFiles, TEST_UTIL.getDefaultRootDirPath(), copyDir, true, null, false);
snapshotName, snapshotName, tableNumFiles, TEST_UTIL.getDefaultRootDirPath(),
copyDir, true, null, false);
}
}