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,
<<"perf">> :=
#{
<<"route_lock_type">> := key,
<<"route_lock_type">> := <<"key">>,
<<"trie_compaction">> := true
},
<<"route_batch_clean">> := false,
<<"session_locking_strategy">> := quorum,
<<"shared_subscription_strategy">> := round_robin
<<"session_locking_strategy">> := <<"quorum">>,
<<"shared_subscription_strategy">> := <<"round_robin">>
}
},
WithDefaults

View File

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

View File

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