fix #7695, solve the problem of Address already in use in ConfigTest#testDubboProtocolPortOverride
This commit is contained in:
parent
3a3d0ef50e
commit
ca0b982866
|
|
@ -993,7 +993,7 @@ public class ConfigTest {
|
|||
|
||||
@Test
|
||||
public void testDubboProtocolPortOverride() throws Exception {
|
||||
int port = 55555;
|
||||
int port = NetUtils.getAvailablePort();
|
||||
System.setProperty("dubbo.protocol.dubbo.port", String.valueOf(port));
|
||||
ServiceConfig<DemoService> service = null;
|
||||
DubboBootstrap bootstrap = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue