Fix Netty topology factory class test
This commit is contained in:
parent
8562b8b448
commit
0aa7dd1905
|
@ -82,14 +82,12 @@ public class NonHATopologyTest extends ActiveMQTestBase {
|
|||
|
||||
factory.close();
|
||||
|
||||
if (!isNetty) {
|
||||
TopologyMemberImpl member = topology.getMembers().iterator().next();
|
||||
if (isNetty) {
|
||||
assertEquals(NettyConnectorFactory.class.getName(), member.getLive().getFactoryClassName());
|
||||
}
|
||||
else {
|
||||
assertEquals(InVMConnectorFactory.class.getName(), member.getLive().getFactoryClassName());
|
||||
}
|
||||
TopologyMemberImpl member = topology.getMembers().iterator().next();
|
||||
if (isNetty) {
|
||||
assertEquals(NettyConnectorFactory.class.getName(), member.getLive().getFactoryClassName());
|
||||
}
|
||||
else {
|
||||
assertEquals(InVMConnectorFactory.class.getName(), member.getLive().getFactoryClassName());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue