diff options
author | David Ansari <david.ansari@gmx.de> | 2023-05-15 16:13:38 +0000 |
---|---|---|
committer | David Ansari <david.ansari@gmx.de> | 2023-05-15 16:13:38 +0000 |
commit | a910ae4cc8c6f5d22843cc2bd08f3244d40b1219 (patch) | |
tree | 90bb8bb68fd16ea3fd73e41044038e2300ae9545 | |
parent | c4d688c6bfbe417f2323dea2b57234ba89308aa7 (diff) | |
download | rabbitmq-server-git-mqtt5.tar.gz |
Fix failing testmqtt5
due to rebasing onto main.
mqtt5 branch adds a new header
```
{<<"x-mqtt-retain">>, bool, false}
```
which caused the incoming_message_interceptors test case to fail.
-rw-r--r-- | deps/rabbitmq_mqtt/test/shared_SUITE.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/rabbitmq_mqtt/test/shared_SUITE.erl b/deps/rabbitmq_mqtt/test/shared_SUITE.erl index 37bccf0bcb..61858c130c 100644 --- a/deps/rabbitmq_mqtt/test/shared_SUITE.erl +++ b/deps/rabbitmq_mqtt/test/shared_SUITE.erl @@ -1510,8 +1510,7 @@ incoming_message_interceptors(Config) -> #amqp_msg{payload = Payload, props = #'P_basic'{ timestamp = Secs, - headers = [{<<"timestamp_in_ms">>, long, Ms}, - {<<"x-mqtt-publish-qos">>, byte, 0}] + headers = [{<<"timestamp_in_ms">>, long, Ms} | _XHeaders] }}} when Ms < NowMs + 4000 andalso Ms > NowMs - 4000 andalso |