aajisaka commented on a change in pull request #1797: HDFS-15077. Fix 
intermittent failure of TestDFSClientRetries#testLeas…
URL: https://github.com/apache/hadoop/pull/1797#discussion_r364028482
 
 

 ##########
 File path: 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java
 ##########
 @@ -406,14 +407,14 @@ public void testLeaseRenewSocketTimeout() throws 
Exception
       // throws SocketTimeoutException.
       Mockito.doNothing().when(spyNN).renewLease(
           Mockito.anyString());
-      leaseRenewer = client.getLeaseRenewer();
-      leaseRenewer.setRenewalTime(100);
+      LeaseRenewer leaseRenewer2 = client.getLeaseRenewer();
 
 Review comment:
   I'm +1 if that is addressed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to