diff --git a/test/src/test/java/com/alibaba/nacos/test/naming/AutoDeregisterInstance_ITCase.java b/test/src/test/java/com/alibaba/nacos/test/naming/AutoDeregisterInstance_ITCase.java index 6637265be..a141c85dc 100644 --- a/test/src/test/java/com/alibaba/nacos/test/naming/AutoDeregisterInstance_ITCase.java +++ b/test/src/test/java/com/alibaba/nacos/test/naming/AutoDeregisterInstance_ITCase.java @@ -57,10 +57,10 @@ public class AutoDeregisterInstance_ITCase { @Before public void init() throws Exception { -// NamingBase.prepareServer(port); + NamingBase.prepareServer(port); if (naming == null) { - naming = NamingFactory.createNamingService("11.239.112.161:8848,11.239.113.204:8848,11.239.114.187:8848"); + naming = NamingFactory.createNamingService("127.0.0.1" + ":" + port); } while (true) {