LiuGuH commented on PR #5642:
URL: https://github.com/apache/hadoop/pull/5642#issuecomment-1545057769

         GenericTestUtils.waitFor(() -> pendingReconstruction.size() == 0, 500,
             10000);
         // The pending queue should be empty.
         assertEquals("Size of pendingReconstructions ", 0,
             pendingReconstruction.size());
       } finally {
         if (cluster != null) {
           cluster.shutdown();
         }
       }
   
   GenericTestUtils.waitFor() will  sleep maximum 10s.  The 
pendingReconstruction  will timeout after 3s ,then will be into timeout list. 
   PendingReconstructionMonitor will not be stoped if I change  
GenericTestUtils.waitFor to 1s .
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to