ARTEMIS-1244 Retain flag code todo comment

Identified possible bug in MQTT receive of missing retained flag.
This commit is contained in:
Michal Tóth 2017-06-21 13:17:54 +02:00 committed by Clebert Suconic
parent e801df7974
commit 2b80426153
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ public class MQTTInterceptorPropertiesTest extends MQTTTestSupport {
MqttFixedHeader header = message.fixedHeader();
assertNotNull(header.messageType());
assertEquals(header.qosLevel().value(), AT_MOST_ONCE);
// TODO resolve the following line based on result of ARTEMIS-1244, currently fails (2.1.0)
assertEquals(header.isRetain(), expectedProperties.get(RETAINED));
} catch (Throwable t) {
collector.addError(t);