test: change assert condition

This commit is contained in:
JianBo He 2022-03-04 17:16:46 +08:00
parent 6dac422c93
commit 0c8d739e2f
2 changed files with 7 additions and 3 deletions

View File

@ -45,9 +45,7 @@ t_fill_default_values(_) ->
<<"route_batch_clean">> := false,
<<"session_locking_strategy">> := quorum,
<<"shared_dispatch_ack_enabled">> := false,
<<"shared_subscription_strategy">> := round_robin,
<<"sys_heartbeat_interval">> := <<"30s">>,
<<"sys_msg_interval">> := <<"1m">>}}, WithDefaults),
<<"shared_subscription_strategy">> := round_robin}}, WithDefaults),
%% ensure JSON compatible
_ = emqx_json:encode(WithDefaults),
ok.

View File

@ -24,6 +24,12 @@
-define(CLUSTER_RPC_SHARD, emqx_cluster_rpc_shard).
-define(CONF_DEFAULT, <<"
sys_topics {
sys_event_messages {
client_connected = false
client_disconnected = false
}
}
exhook {
servers = [
{ name = default,