use of com.alibaba.dubbo.registry.Registry in project dubbo by alibaba.
the class AbstractRegistryFactoryTest method testRegistryFactoryGroupCache.
@Test
public void testRegistryFactoryGroupCache() throws Exception {
Registry registry1 = registryFactory.getRegistry(URL.valueOf("dubbo://" + NetUtils.getLocalHost() + ":2233?group=aaa"));
Registry registry2 = registryFactory.getRegistry(URL.valueOf("dubbo://" + NetUtils.getLocalHost() + ":2233?group=bbb"));
Assert.assertNotSame(registry1, registry2);
}
Aggregations