test: config SUITE failed

This commit is contained in:
zhongwencool 2023-06-10 15:12:04 +08:00
parent 505d677685
commit 346b363cb5
3 changed files with 5 additions and 5 deletions

View File

@ -63,12 +63,12 @@ t_fill_default_values(C) when is_list(C) ->
<<"enable_session_registry">> := true, <<"enable_session_registry">> := true,
<<"perf">> := <<"perf">> :=
#{ #{
<<"route_lock_type">> := key, <<"route_lock_type">> := <<"key">>,
<<"trie_compaction">> := true <<"trie_compaction">> := true
}, },
<<"route_batch_clean">> := false, <<"route_batch_clean">> := false,
<<"session_locking_strategy">> := quorum, <<"session_locking_strategy">> := <<"quorum">>,
<<"shared_subscription_strategy">> := round_robin <<"shared_subscription_strategy">> := <<"round_robin">>
} }
}, },
WithDefaults WithDefaults

View File

@ -99,7 +99,7 @@ t_conflict_handler(_Config) ->
%% override %% override
ok = emqx_config_handler:add_handler([sysmon], emqx_config_logger), ok = emqx_config_handler:add_handler([sysmon], emqx_config_logger),
?assertMatch( ?assertMatch(
#{handlers := #{sysmon := #{{mod} := emqx_config_logger}}}, #{handlers := #{sysmon := #{?MOD := emqx_config_logger}}},
emqx_config_handler:info() emqx_config_handler:info()
), ),
ok. ok.

View File

@ -451,7 +451,7 @@ request_for_log(Credential, #{url := Url, method := Method} = State) ->
base_url => Url, base_url => Url,
path_query => PathQuery, path_query => PathQuery,
headers => Headers, headers => Headers,
mody => Body body => Body
} }
end. end.