HDFS-14746. Trivial test code update after HDFS-14687. Contributed by kevin su.
Reviewed-by: Surendra Singh Lilhore <surendralilhore@apache.org> Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
This commit is contained in:
parent
51b65370b9
commit
abae6ff2a2
@ -79,8 +79,8 @@ public void testQueues() {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testPendingDataNodeMessagesWithEC() throws Exception {
|
public void testPendingDataNodeMessagesWithEC() throws Exception {
|
||||||
ErasureCodingPolicy ecPolicy = SystemErasureCodingPolicies.getPolicies()
|
ErasureCodingPolicy ecPolicy = SystemErasureCodingPolicies
|
||||||
.get(3);
|
.getByID(SystemErasureCodingPolicies.XOR_2_1_POLICY_ID);
|
||||||
Path dirPath = new Path("/testPendingDataNodeMessagesWithEC");
|
Path dirPath = new Path("/testPendingDataNodeMessagesWithEC");
|
||||||
Configuration conf = new Configuration();
|
Configuration conf = new Configuration();
|
||||||
conf.setInt(DFSConfigKeys.DFS_HA_TAILEDITS_PERIOD_KEY, 20 * 60000);
|
conf.setInt(DFSConfigKeys.DFS_HA_TAILEDITS_PERIOD_KEY, 20 * 60000);
|
||||||
|
Loading…
Reference in New Issue
Block a user