mirror of https://github.com/apache/activemq.git
NO-JIRA Fix test with commented out assertion.
This commit is contained in:
parent
5db9af8b24
commit
a42be999cb
|
@ -23,6 +23,7 @@ import static org.apache.activemq.transport.amqp.AmqpSupport.VERSION;
|
|||
import static org.apache.activemq.transport.amqp.AmqpSupport.contains;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
|
@ -193,7 +194,7 @@ public class AmqpConnectionsTest extends AmqpClientTestSupport {
|
|||
|
||||
try {
|
||||
connection2.connect();
|
||||
//fail("Should not be able to connect with same container Id.");
|
||||
fail("Should not be able to connect with same container Id.");
|
||||
} catch (Exception ex) {
|
||||
LOG.info("Second connection with same container Id failed as expected.");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue