HDFS-16106. Fix flaky unit test TestDFSShell (#3168)
This commit is contained in:
parent
9be17339eb
commit
390f8603d3
@ -117,7 +117,7 @@ public static void setup() throws IOException {
|
||||
GenericTestUtils.getTestDir("TestDFSShell").getAbsolutePath());
|
||||
conf.setBoolean(DFSConfigKeys.DFS_NAMENODE_XATTRS_ENABLED_KEY, true);
|
||||
conf.setBoolean(DFSConfigKeys.DFS_NAMENODE_ACLS_ENABLED_KEY, true);
|
||||
conf.setLong(DFSConfigKeys.DFS_NAMENODE_ACCESSTIME_PRECISION_KEY, 1000);
|
||||
conf.setLong(DFSConfigKeys.DFS_NAMENODE_ACCESSTIME_PRECISION_KEY, 120000);
|
||||
|
||||
miniCluster = new MiniDFSCluster.Builder(conf).numDataNodes(2).build();
|
||||
miniCluster.waitActive();
|
||||
|
Loading…
Reference in New Issue
Block a user