Explorar o código

test: change assert condition

JianBo He %!s(int64=3) %!d(string=hai) anos
pai
achega
0c8d739e2f

+ 1 - 3
apps/emqx/test/emqx_config_SUITE.erl

@@ -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.

+ 6 - 0
apps/emqx_exhook/test/emqx_exhook_SUITE.erl

@@ -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,