test: fix test case
This commit is contained in:
parent
067f018337
commit
78c5f8177c
|
@ -78,7 +78,8 @@ t_audit_log_conf(_Config) ->
|
||||||
<<"rotation_count">> => 10,
|
<<"rotation_count">> => 10,
|
||||||
<<"rotation_size">> => <<"50MB">>,
|
<<"rotation_size">> => <<"50MB">>,
|
||||||
<<"time_offset">> => <<"system">>,
|
<<"time_offset">> => <<"system">>,
|
||||||
<<"path">> => <<"log/emqx.log">>
|
<<"path">> => <<"log/emqx.log">>,
|
||||||
|
<<"timestamp_format">> => <<"auto">>
|
||||||
},
|
},
|
||||||
ExpectLog1 = #{
|
ExpectLog1 = #{
|
||||||
<<"console">> =>
|
<<"console">> =>
|
||||||
|
@ -86,7 +87,8 @@ t_audit_log_conf(_Config) ->
|
||||||
<<"enable">> => false,
|
<<"enable">> => false,
|
||||||
<<"formatter">> => <<"text">>,
|
<<"formatter">> => <<"text">>,
|
||||||
<<"level">> => <<"warning">>,
|
<<"level">> => <<"warning">>,
|
||||||
<<"time_offset">> => <<"system">>
|
<<"time_offset">> => <<"system">>,
|
||||||
|
<<"timestamp_format">> => <<"auto">>
|
||||||
},
|
},
|
||||||
<<"file">> =>
|
<<"file">> =>
|
||||||
#{<<"default">> => FileExpect},
|
#{<<"default">> => FileExpect},
|
||||||
|
@ -99,7 +101,8 @@ t_audit_log_conf(_Config) ->
|
||||||
<<"max_filter_size">> => 5000,
|
<<"max_filter_size">> => 5000,
|
||||||
<<"rotation_count">> => 10,
|
<<"rotation_count">> => 10,
|
||||||
<<"rotation_size">> => <<"50MB">>,
|
<<"rotation_size">> => <<"50MB">>,
|
||||||
<<"time_offset">> => <<"system">>
|
<<"time_offset">> => <<"system">>,
|
||||||
|
<<"timestamp_format">> => <<"auto">>
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
%% The default value of throttling.msgs can be frequently updated,
|
%% The default value of throttling.msgs can be frequently updated,
|
||||||
|
|
Loading…
Reference in New Issue