sluk3r opened a new issue #7467: URL: https://github.com/apache/shardingsphere/issues/7467
Hi all, for issue of #7285, I try to add one test for org.apache.shardingsphere.proxy.init.impl.AbstractBootstrapInitializer#init. the following is Unit test code:  (source code link is : https://github.com/sluk3r/shardingsphere/blob/dev-AbstractBootstrapInitializerTest-7285/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/test/java/org/apache/shardingsphere/proxy/init/impl/AbstractBootstrapInitializerTest.java) Problems are: 1. Is it enough to just assert the specified port is ready? 2. How to stop ShardingSphereProxy server after execution of "new ShardingSphereProxy().start(port)"? 3. After execution of "org.apache.shardingsphere.proxy.init.impl.AbstractBootstrapInitializer#init" method, the org.apache.shardingsphere.proxy.init.impl.AbstractBootstrapInitializerTest#assertInit would hang, thereafter "assertTrue(isAvailable(port))" would not be executed. how to solve this problem? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
