The Qpid broker will not handle some AMQP types correctly, and will attempt to read the body of these types as descriptors. This bug covered elsewhere. However, this issue causes the AMQP tests using these types to fail when the Qpid broker is in use. However, the A-MQ broker works ok.
Until now, the types that do not work have had to be commented out of the test before running it in order to complete the test when using Qpid as the broker. This is ugly and error-prone, and certainly does not lend itself to automatic testing environments.
A method needs to be devised that can detect the broker in use, and automatically exclude or skip tests that are known to fail with an appropriate message.