emqx/apps/emqx_ft/test
Andrew Mayorov 58115715dd fix(ft): require final size in fin packet
Otherwise there are situations when it's not entirely clear if a
transfer is really ready to be assembled. Since the `size` field
in a filemeta is not required (and rightly so), we need client to
tell us the final transfer size at the end of the process.

Also synthesize a testcase to show why it's needed.

Also worth noting that right now `fin` packets require final size,
even if a client already told us the size through filemeta. The
latter is regarded as serving informational purposes only (which
means that, for example, it might differ from the final size, or
some tranfer progress might show >100% somewhere because of that).
2023-04-07 17:25:22 +03:00
..
emqx_ft_api_SUITE.erl chore(ft): fix gen_rpc flakyness 2023-04-07 17:25:22 +03:00
emqx_ft_assembler_SUITE.erl fix(ft): require final size in fin packet 2023-04-07 17:25:22 +03:00
emqx_ft_conf_SUITE.erl chore(ft): fix gen_rpc flakyness 2023-04-07 17:25:22 +03:00
emqx_ft_content_gen.erl feat(ft): add emqx_ft tests and fixes 2023-04-07 17:25:21 +03:00
emqx_ft_responder_SUITE.erl chore: remove unused code 2023-04-07 17:25:21 +03:00
emqx_ft_storage_fs_reader_SUITE.erl chore(ft): fix gen_rpc flakyness 2023-04-07 17:25:22 +03:00
emqx_ft_storage_fs_SUITE.erl fix(ft): require final size in fin packet 2023-04-07 17:25:22 +03:00
emqx_ft_SUITE.erl fix(ft): require final size in fin packet 2023-04-07 17:25:22 +03:00
emqx_ft_test_helpers.erl fix(ft): require final size in fin packet 2023-04-07 17:25:22 +03:00