Fix msg metadata copied twice

This commit is contained in:
ViacheslavKlimov 2024-12-19 16:19:26 +02:00
parent ac61d7c526
commit c60da6829b

View File

@ -106,7 +106,7 @@ public class TbMsgDeduplicationNodeTest extends AbstractRuleNodeUpgradeTest {
return TbMsg.newMsg() return TbMsg.newMsg()
.type(type) .type(type)
.originator(originator) .originator(originator)
.copyMetaData(metaData.copy()) .copyMetaData(metaData)
.data(data) .data(data)
.build(); .build();
}).when(ctx).newMsg(isNull(), eq(TbMsgType.DEDUPLICATION_TIMEOUT_SELF_MSG), nullable(EntityId.class), any(TbMsgMetaData.class), any(String.class)); }).when(ctx).newMsg(isNull(), eq(TbMsgType.DEDUPLICATION_TIMEOUT_SELF_MSG), nullable(EntityId.class), any(TbMsgMetaData.class), any(String.class));