rabbitmq-server/deps/rabbitmq_federation/test
Michael Davis 52a0d70e15
Handle database timeouts when declaring exchanges
The spec of `rabbit_exchange:declare/7` needs to be updated to return
`{ok, Exchange} | {error, Reason}` instead of the old return value of
`rabbit_types:exchange()`. This is safe to do since `declare/7` is not
called by RPC - from the CLI or otherwise - outside of test suites, and
in test suites only through the CLI's `TestHelper.declare_exchange/7`.
Callers of this helper are updated in this commit.

Otherwise this commit updates callers to unwrap the `{ok, Exchange}`
and bubble up errors.
2024-07-22 16:02:03 -04:00
..
definition_import_SUITE_data rabbit_definitions: ensure federation-upstream-set parameters are exported 2024-07-04 12:41:34 +02:00
definition_import_SUITE.erl rabbit_definitions: ensure federation-upstream-set parameters are exported 2024-07-04 12:41:34 +02:00
exchange_SUITE.erl Remove unused imports (thanks elp!) 2024-05-23 16:36:08 +02:00
federation_status_command_SUITE.erl Remove unused imports (thanks elp!) 2024-05-23 16:36:08 +02:00
queue_SUITE.erl (c) year bumps 2024-01-01 22:02:20 -05:00
rabbit_federation_status_SUITE.erl Remove unused imports (thanks elp!) 2024-05-23 16:36:08 +02:00
rabbit_federation_test_util.erl Support AMQP 1.0 natively 2024-02-28 14:15:20 +01:00
restart_federation_link_command_SUITE.erl Remove unused imports (thanks elp!) 2024-05-23 16:36:08 +02:00
unit_SUITE.erl More missed license header updates #9969 2024-02-05 11:53:50 -05:00
unit_inbroker_SUITE.erl Handle database timeouts when declaring exchanges 2024-07-22 16:02:03 -04:00