gxgmy521 commented on issue #33831:
URL: 
https://github.com/apache/shardingsphere/issues/33831#issuecomment-2510726736

   > Why do you need a mock connection?🤔 In unit tests, you can always create a 
connection from an h2database in mysql-compatible mode.
   Without a mocked connection, I do not know how to control it throw an 
SQLException. But if mock a connection, I do not know how to re produce the 
connection leaks in unit test. I only reproduce the connection leak in the test 
environment with the help of ChaosBlade Tool. 


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