From 78c5f8177cb948bcb1f4f27ea317dedcc3b1a59b Mon Sep 17 00:00:00 2001 From: zmstone Date: Tue, 26 Mar 2024 14:51:21 +0100 Subject: [PATCH] test: fix test case --- .../test/emqx_enterprise_schema_SUITE.erl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/emqx_enterprise/test/emqx_enterprise_schema_SUITE.erl b/apps/emqx_enterprise/test/emqx_enterprise_schema_SUITE.erl index 5a707a070..92adf2f17 100644 --- a/apps/emqx_enterprise/test/emqx_enterprise_schema_SUITE.erl +++ b/apps/emqx_enterprise/test/emqx_enterprise_schema_SUITE.erl @@ -78,7 +78,8 @@ t_audit_log_conf(_Config) -> <<"rotation_count">> => 10, <<"rotation_size">> => <<"50MB">>, <<"time_offset">> => <<"system">>, - <<"path">> => <<"log/emqx.log">> + <<"path">> => <<"log/emqx.log">>, + <<"timestamp_format">> => <<"auto">> }, ExpectLog1 = #{ <<"console">> => @@ -86,7 +87,8 @@ t_audit_log_conf(_Config) -> <<"enable">> => false, <<"formatter">> => <<"text">>, <<"level">> => <<"warning">>, - <<"time_offset">> => <<"system">> + <<"time_offset">> => <<"system">>, + <<"timestamp_format">> => <<"auto">> }, <<"file">> => #{<<"default">> => FileExpect}, @@ -99,7 +101,8 @@ t_audit_log_conf(_Config) -> <<"max_filter_size">> => 5000, <<"rotation_count">> => 10, <<"rotation_size">> => <<"50MB">>, - <<"time_offset">> => <<"system">> + <<"time_offset">> => <<"system">>, + <<"timestamp_format">> => <<"auto">> } }, %% The default value of throttling.msgs can be frequently updated,