test: audit max_size flaky test

This commit is contained in:
zhongwencool 2023-12-14 09:48:17 +08:00
parent b46438efc9
commit b35765708d
1 changed files with 2 additions and 1 deletions

View File

@ -224,8 +224,9 @@ t_max_size(_Config) ->
fun(_) ->
ok = emqx_ctl:run_command(["conf", "show", "log"])
end,
lists:duplicate(100, 1)
lists:duplicate(110, 1)
),
_ = mnesia:dump_log(),
LogCount = wait_for_dirty_write_log_done(1500),
Size1 = SizeFun(),
?assert(Size1 - InitSize >= 100, #{