test: config SUITE failed
This commit is contained in:
parent
505d677685
commit
346b363cb5
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue