ConnectionTests because VM broker is not created
------------------------------------------------

                 Key: QPID-608
                 URL: https://issues.apache.org/jira/browse/QPID-608
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M2
         Environment: Any
            Reporter: Robert Greig
            Assignee: Robert Greig


The ConnectionTest fails because the VM broker is not created:

Tests run: 6, Failures: 2, Errors: 2, Skipped: 0, Time elapsed: 0.037
sec <<< FAILURE!
testDefaultExchanges(org.apache.qpid.test.unit.client.connection.ConnectionTest)
 Time elapsed: 0.003 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Connection to vm://:1 should
succeed. Reason: org.apache.qpid.AMQConnectionFailureException: VM
Broker on port 1 does not exist. Auto create disabled.
       at junit.framework.Assert.fail(Assert.java:47)
       at 
org.apache.qpid.test.unit.client.connection.ConnectionTest.testDefaultExchanges(ConnectionTest.java:114)

testSimpleConnection(org.apache.qpid.test.unit.client.connection.ConnectionTest)
 Time elapsed: 0.001 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Connection to vm://:1 should
succeed. Reason: org.apache.qpid.AMQConnectionFailureException: VM
Broker on port 1 does not exist. Auto create disabled.
       at junit.framework.Assert.fail(Assert.java:47)
       at 
org.apache.qpid.test.unit.client.connection.ConnectionTest.testSimpleConnection(ConnectionTest.java:67)

testClientIdCannotBeChanged(org.apache.qpid.test.unit.client.connection.ConnectionTest)
 Time elapsed: 0.001 sec  <<< ERROR!
org.apache.qpid.AMQConnectionFailureException: VM Broker on port 1
does not exist. Auto create disabled.
       at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:340)
       at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:177)
       at 
org.apache.qpid.test.unit.client.connection.ConnectionTest.testClientIdCannotBeChanged(ConnectionTest.java:170)

testClientIdIsPopulatedAutomatically(org.apache.qpid.test.unit.client.connection.ConnectionTest)
 Time elapsed: 0.001 sec  <<< ERROR!
org.apache.qpid.AMQConnectionFailureException: VM Broker on port 1
does not exist. Auto create disabled.
       at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:340)
       at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:177)
       at 
org.apache.qpid.test.unit.client.connection.ConnectionTest.testClientIdIsPopulatedAutomatically(ConnectionTest.java:185

This is because the lines o create and destroy the in-VM broker have been 
commented out. This was done for some reason as part of QPID-466 - svn revision 
535309.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to