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:
parent
ebf17c8143
commit
a3f3f96781
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue