Changed the expected error code to 405 or 406 (depends on the rabbitmq version)
The test was broken due to a rabbitmq change: rabbitmq/rabbitmq-server#1888
The exclusiveness check (which generates a 405) has been moved to before the argument equality check (which generates a 406).
Additionally fixed the travis build by changing to bionic. There is a bug in the latest rabbitmq version available on xenial that was being hit by test_queue_declare_custom_x_message_ttl_32_bits. The bug has been fixed in the version available on bionic.
Changed the expected error code to 405 or 406 (depends on the rabbitmq version)
The test was broken due to a rabbitmq change: rabbitmq/rabbitmq-server#1888 The exclusiveness check (which generates a 405) has been moved to before the argument equality check (which generates a 406).
Additionally fixed the travis build by changing to bionic. There is a bug in the latest rabbitmq version available on xenial that was being hit by
test_queue_declare_custom_x_message_ttl_32_bits
. The bug has been fixed in the version available on bionic.