fix : The client and server are connected synchronously

pull/1006/head
pizihao 3 years ago
parent 75176164c7
commit 8c7237e5e7

@ -27,7 +27,7 @@ import java.io.IOException;
public class NettyServerSupportTest {
@Test
public void bind() throws IOException {
public synchronized void bind() throws IOException {
NettyServerSupport support = new NettyServerSupport(() -> 8891, InstanceServerLoader.class);
support.bind();
while (!support.isActive()) {

Loading…
Cancel
Save