HDFS-14004. TestLeaseRecovery2#testCloseWhileRecoverLease fails intermittently in trunk. Contributed by Ayush Saxena.
This commit is contained in:
parent
5e294e950b
commit
efdfe679d6
@ -171,7 +171,7 @@ public class TestLeaseRecovery2 {
|
||||
// set the soft limit to be 1 hour but recoverLease should
|
||||
// close the file immediately
|
||||
cluster.setLeasePeriod(LONG_LEASE_PERIOD, LONG_LEASE_PERIOD);
|
||||
int size = AppendTestUtil.nextInt(FILE_SIZE);
|
||||
int size = AppendTestUtil.nextInt((int) BLOCK_SIZE);
|
||||
String filestr = "/testCloseWhileRecoverLease";
|
||||
|
||||
AppendTestUtil.LOG.info("filestr=" + filestr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user