diff options
Diffstat (limited to 'deps/rabbitmq_cli/test/queues/grow_command_test.exs')
-rw-r--r-- | deps/rabbitmq_cli/test/queues/grow_command_test.exs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/deps/rabbitmq_cli/test/queues/grow_command_test.exs b/deps/rabbitmq_cli/test/queues/grow_command_test.exs index 1a1f10d502..862068ceb1 100644 --- a/deps/rabbitmq_cli/test/queues/grow_command_test.exs +++ b/deps/rabbitmq_cli/test/queues/grow_command_test.exs @@ -70,8 +70,7 @@ defmodule RabbitMQ.CLI.Queues.Commands.GrowCommandTest do @tag test_timeout: 3000 test "run: targeting an unreachable node throws a badrpc", context do - assert @command.run(["quorum-queue-a", "all"], - Map.merge(context[:opts], %{node: :jake@thedog})) == - {:badrpc, :nodedown} + assert match?({:badrpc, _}, @command.run(["quorum-queue-a", "all"], + Map.merge(context[:opts], %{node: :jake@thedog, timeout: 200}))) end end |