fix(fix NamingMaintainService_ITCase mistake):

This commit is contained in:
chuntaojun 2019-05-16 12:25:00 +08:00
parent 4c5c2a66e8
commit 51ded2c857

View File

@ -139,6 +139,12 @@ public class NamingMaintainService_ITCase {
@Test @Test
public void deleteService() throws NacosException { public void deleteService() throws NacosException {
Service preService = new Service();
preService.setName(serviceName);
System.out.println("service info : " + preService);
namingMaintainService.createService(preService, new NoneSelector());
Assert.assertTrue(namingMaintainService.deleteService(serviceName)); Assert.assertTrue(namingMaintainService.deleteService(serviceName));
} }