From a910ae4cc8c6f5d22843cc2bd08f3244d40b1219 Mon Sep 17 00:00:00 2001 From: David Ansari Date: Mon, 15 May 2023 16:13:38 +0000 Subject: Fix failing test 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. --- deps/rabbitmq_mqtt/test/shared_SUITE.erl | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1