ChenSammi commented on PR #10118:
URL: https://github.com/apache/ozone/pull/10118#issuecomment-4311266458

   > Thanks @ChenSammi for the patch. The fix looks good, but I don't think the 
test case is useful or needed. It basically tests (1) behavior with the 
test-specific flag and (2) normal operation in running state, which is also 
exercised by other test cases. It does not actually test the real scenario, 
where OM is not yet running. I understand that testing this for real would 
require more complex instrumentation, and am not asking for such a test. But I 
think the current test is unnecessary (both code and execution time) and may 
even be flaky.
   
   @adoroszlai , the unit test is mainly to test that OM can continue and 
finish the snapshot installation in case of it returns "null" for the first a 
few installSnapshot requests.  I want to make sure the new change will not fail 
the snapshot installation completely. 


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