Update rabbitmq-diagnostics {drain, revive} tests

to enable the feature flag they depend for
their functionality.
This commit is contained in:
Michael Klishin 2021-03-24 21:22:40 +03:00
parent 8d8b67bb34
commit 6ad235cc64
No known key found for this signature in database
GPG Key ID: E80EDCFA0CDB21EE
2 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@ defmodule DrainCommandTest do
end
setup context do
enable_feature_flag(:maintenance_mode)
{:ok, opts: %{
node: get_rabbit_hostname(),
timeout: context[:test_timeout] || 5000

View File

@ -23,6 +23,8 @@ defmodule ReviveCommandTest do
end
setup context do
enable_feature_flag(:maintenance_mode)
{:ok, opts: %{
node: get_rabbit_hostname(),
timeout: context[:test_timeout] || 5000