summaryrefslogtreecommitdiff
path: root/deps/rabbitmq_cli/test/diagnostics/check_port_connectivity_command_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'deps/rabbitmq_cli/test/diagnostics/check_port_connectivity_command_test.exs')
-rw-r--r--deps/rabbitmq_cli/test/diagnostics/check_port_connectivity_command_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/rabbitmq_cli/test/diagnostics/check_port_connectivity_command_test.exs b/deps/rabbitmq_cli/test/diagnostics/check_port_connectivity_command_test.exs
index ce818d6c3c..c6525a2a4f 100644
--- a/deps/rabbitmq_cli/test/diagnostics/check_port_connectivity_command_test.exs
+++ b/deps/rabbitmq_cli/test/diagnostics/check_port_connectivity_command_test.exs
@@ -46,7 +46,7 @@ defmodule CheckPortConnectivityCommandTest do
@tag test_timeout: 3000
test "run: targeting an unreachable node throws a badrpc", context do
- assert @command.run([], Map.merge(context[:opts], %{node: :jake@thedog})) == {:badrpc, :nodedown}
+ assert match?({:badrpc, _}, @command.run([], Map.merge(context[:opts], %{node: :jake@thedog})))
end
test "run: tries to connect to every inferred active listener", context do