rabbitmq / rabbitmq-mqtt

RabbitMQ MQTT plugin
https://www.rabbitmq.com/mqtt.html
Other
174 stars 67 forks source link

Add test to check client id propagation #196

Closed acogoluegnes closed 5 years ago

acogoluegnes commented 5 years ago

This commit adds a test to check the MQTT client is properly propagated to the authentication and authorization backends.

References rabbitmq/rabbitmq-server#1767

Note this PR uses a mock authn/authz to record calls during the test. The file is added to the main source directory to make the broker start properly (test modules are not available in the broker startup).