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.
|
||
|---|---|---|
| .. | ||
| definition_import_SUITE_data | ||
| definition_import_SUITE.erl | ||
| exchange_SUITE.erl | ||
| federation_status_command_SUITE.erl | ||
| queue_SUITE.erl | ||
| rabbit_federation_status_SUITE.erl | ||
| rabbit_federation_test_util.erl | ||
| restart_federation_link_command_SUITE.erl | ||
| unit_SUITE.erl | ||
| unit_inbroker_SUITE.erl | ||