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.
This commit is contained in:
Kjell Winblad 2024-06-07 12:03:34 +02:00
parent ebf17c8143
commit a3f3f96781
1 changed files with 1 additions and 0 deletions

View File

@ -273,6 +273,7 @@ t_disable_prepared_statements(Config0) ->
fun(Res) -> ?assertMatch({ok, _}, Res) end, fun(Res) -> ?assertMatch({ok, _}, Res) end,
postgres_bridge_connector_on_query_return 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}), ok = emqx_bridge_v2_testlib:t_on_get_status(Config, #{failure_status => connecting}),
emqx_bridge_v2_testlib:delete_all_bridges_and_connectors(), emqx_bridge_v2_testlib:delete_all_bridges_and_connectors(),
ok = emqx_bridge_v2_testlib:t_create_via_http(Config), ok = emqx_bridge_v2_testlib:t_create_via_http(Config),