From a3f3f96781e674998b717e6c9cdf9608a0f23395 Mon Sep 17 00:00:00 2001 From: Kjell Winblad Date: Fri, 7 Jun 2024 12:03:34 +0200 Subject: [PATCH] test(emqx_bridge_v2_pgsql_SUITE): fix broken test case We have to delete the connector and action created by the previous step of the test case so we don't get a name conflict. --- apps/emqx_bridge_pgsql/test/emqx_bridge_v2_pgsql_SUITE.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/emqx_bridge_pgsql/test/emqx_bridge_v2_pgsql_SUITE.erl b/apps/emqx_bridge_pgsql/test/emqx_bridge_v2_pgsql_SUITE.erl index 7e503cebb..31419daf9 100644 --- a/apps/emqx_bridge_pgsql/test/emqx_bridge_v2_pgsql_SUITE.erl +++ b/apps/emqx_bridge_pgsql/test/emqx_bridge_v2_pgsql_SUITE.erl @@ -273,6 +273,7 @@ t_disable_prepared_statements(Config0) -> fun(Res) -> ?assertMatch({ok, _}, Res) end, postgres_bridge_connector_on_query_return ), + emqx_bridge_v2_testlib:delete_all_bridges_and_connectors(), ok = emqx_bridge_v2_testlib:t_on_get_status(Config, #{failure_status => connecting}), emqx_bridge_v2_testlib:delete_all_bridges_and_connectors(), ok = emqx_bridge_v2_testlib:t_create_via_http(Config),