qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-7946) [Java Broker] ProtocolNegotiationTest only works by accident on AMQP 1.0
Date Mon, 02 Oct 2017 21:25:01 GMT
Rob Godfrey created QPID-7946:
---------------------------------

             Summary: [Java Broker] ProtocolNegotiationTest only works by accident on AMQP
1.0 
                 Key: QPID-7946
                 URL: https://issues.apache.org/jira/browse/QPID-7946
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Rob Godfrey
            Assignee: Rob Godfrey
            Priority: Minor


ProtocolNegotiationTest.testNoConnectionOpenSent_BrokerClosesConnection attempts to send heartbeats
to the broker after sending the first protocol header but before authenticating.

In AMQP 1.0 you cannot send empty (heartbeat) frames while establishing a SASL layer - empty
(heartbeat) frames are only defined for AMQP frames.  To compound this error, the test is
actually sending AMQP 0-8 heartbeat frames anyway :-)

The test also fails on Windows seemingly because windows does not report the connection has
closed unless you try to read from it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message