Merge pull request #6306 from savonarola/ct-output

chore(ct): remove verbose output during tests
This commit is contained in:
Ilya Averyanov 2021-11-26 12:54:21 +03:00 committed by GitHub
commit 759b03a6ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -40,7 +40,7 @@
, on_received_messages/2 , on_received_messages/2
]). ]).
-define(LOG(Fmt, Args), io:format(standard_error, Fmt, Args)). -define(LOG(Fmt, Args), ct:pal(Fmt, Args)).
-define(HTTP, #{grpc_opts => #{service_protos => [emqx_exproto_pb], -define(HTTP, #{grpc_opts => #{service_protos => [emqx_exproto_pb],
services => #{'emqx.exproto.v1.ConnectionHandler' => ?MODULE}}, services => #{'emqx.exproto.v1.ConnectionHandler' => ?MODULE}},

View File

@ -36,7 +36,7 @@
-define(FLAG_RETAIN(X),X). -define(FLAG_RETAIN(X),X).
-define(FLAG_SESSION(X),X). -define(FLAG_SESSION(X),X).
-define(LOG(Format, Args), ct:print("TEST: " ++ Format, Args)). -define(LOG(Format, Args), ct:pal("TEST: " ++ Format, Args)).
-define(MAX_PRED_TOPIC_ID, 2). -define(MAX_PRED_TOPIC_ID, 2).
-define(PREDEF_TOPIC_ID1, 1). -define(PREDEF_TOPIC_ID1, 1).

View File

@ -148,7 +148,6 @@ init_per_testcase(t_events, Config) ->
#{id => <<"rule:t_events">>, #{id => <<"rule:t_events">>,
sql => SQL, sql => SQL,
outputs => [ outputs => [
#{function => console},
#{function => <<"emqx_rule_engine_SUITE:output_record_triggered_events">>, #{function => <<"emqx_rule_engine_SUITE:output_record_triggered_events">>,
args => #{}} args => #{}}
], ],