Alan Conway wrote:
Anyone seen the following python failures against the C++ broker (on the
trunk) They look like the same tests that were failing due to a c++
broker bug (raising wrong error code) but that was fixed last week. It
looks like the wrong type of object is being tested.

Yes, that was the error I started seeing after making the c++ broker close the connection after a connection exception is sent to the client.

I thought I had fixed it though (by rev 497404), as I haven't seen it again since then (and all tests are still passing for me still). Is your python client is up to date?

======================================================================
ERROR: testTypeNotKnown (tests.exchange.MiscellaneousErrorsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/aconway/svn/qpid/python/tests/exchange.py", line 313, in
testTypeNotKnown
    self.assertConnectionException(503, e.args[0])
  File "/home/aconway/svn/qpid/python/qpid/testlib.py", line 234, in
assertConnectionException
    self.assertEqual("connection", message.method.klass.name)
AttributeError: EOF instance has no attribute 'method'

======================================================================
ERROR: test_invalid_channel (tests.broker.BrokerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/aconway/svn/qpid/python/tests/broker.py", line 93, in
test_invalid_channel
    self.assertConnectionException(504, e.args[0])
  File "/home/aconway/svn/qpid/python/qpid/testlib.py", line 234, in
assertConnectionException
    self.assertEqual("connection", message.method.klass.name)
AttributeError: EOF instance has no attribute 'method'

----------------------------------------------------------------------


Reply via email to