Procházet zdrojové kódy

test(ds): Add message ID

ieQu1 před 1 rokem
rodič
revize
dc4ae82798

+ 1 - 0
apps/emqx_durable_storage/test/emqx_ds_test_helpers.erl

@@ -122,6 +122,7 @@ topic_messages(TestCase, ClientId, N) ->
     fun() ->
         NBin = integer_to_binary(N),
         Msg = #message{
+            id = <<N:128>>,
             from = ClientId,
             topic = client_topic(TestCase, ClientId),
             timestamp = N * 100,