test: rm unused var warnings

This commit is contained in:
Thales Macedo Garitezi 2023-06-12 15:13:27 -03:00
parent 3995658c04
commit 73fe671dba
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ t_query_mode(CtConfig) ->
begin begin
publish_with_config_template_parameters(CtConfig1, #{"query_mode" => "sync"}) publish_with_config_template_parameters(CtConfig1, #{"query_mode" => "sync"})
end, end,
fun(RunStageResult, Trace) -> fun(Trace) ->
%% We should have a sync Snabbkaffe trace %% We should have a sync Snabbkaffe trace
?assertMatch([_], ?of_kind(emqx_bridge_kafka_impl_producer_sync_query, Trace)) ?assertMatch([_], ?of_kind(emqx_bridge_kafka_impl_producer_sync_query, Trace))
end end
@ -141,7 +141,7 @@ t_query_mode(CtConfig) ->
begin begin
publish_with_config_template_parameters(CtConfig1, #{"query_mode" => "async"}) publish_with_config_template_parameters(CtConfig1, #{"query_mode" => "async"})
end, end,
fun(RunStageResult, Trace) -> fun(Trace) ->
%% We should have a sync Snabbkaffe trace %% We should have a sync Snabbkaffe trace
?assertMatch([_], ?of_kind(emqx_bridge_kafka_impl_producer_async_query, Trace)) ?assertMatch([_], ?of_kind(emqx_bridge_kafka_impl_producer_async_query, Trace))
end end