yandrey321 commented on PR #10415: URL: https://github.com/apache/ozone/pull/10415#issuecomment-4607132104
> > we need tests for validating that stream is not closed when ... > > @yandrey321 , We already have such a lot test for seek and position read; see TestStreamBlockInputStream. > > > ... Checked that the StreamReader won't be closed for seek and position read. > > The way I checked it is to turn on debug log and run org.apache.hadoop.ozone.client.rpc.read.TestStreamBlockInputStream before and after this fix. You may try it. we need to make sure that we'd not have regression when the next person would change the behavior. -- 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]
