gvprathyusha6 commented on PR #7406:
URL: https://github.com/apache/hbase/pull/7406#issuecomment-3464140601

   > > I know it's difficult but any possibility of creating some tests around 
this?
   > 
   > +1, as discussed offline this can actually be tested with same scenario 
@gvprathyusha6
   > 
   > 1. Restore the snapshot into a temp directory
   > 2. Delete the snapshot from the temp directory (other option would be to 
call the MR job with non-existing restore directory)
   > 3. Create MR job for snapshot (ref IntegrationTestTableSnapshotInputFormat 
class on this), it should fail
   
   @ujjawal4046 why not just add the test for HRegion initialise to fail if 
there is no regionDir? that way all downstreams are covered?


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

Reply via email to