From b3349b05282f84143ee6dc8e36cce51ebac4fa88 Mon Sep 17 00:00:00 2001 From: dcorbacho Date: Fri, 14 Feb 2020 16:12:05 +0100 Subject: Fix exception when safe name is duplicated --- test/rabbit_stream2_queue_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rabbit_stream2_queue_SUITE.erl b/test/rabbit_stream2_queue_SUITE.erl index feb89babb6..1f16eef7f9 100644 --- a/test/rabbit_stream2_queue_SUITE.erl +++ b/test/rabbit_stream2_queue_SUITE.erl @@ -415,7 +415,7 @@ declare_queue(Config) -> declare(Ch, QName, [{<<"x-queue-type">>, longstr, ?config(queue_type, Config)}])), - ?assertExit({{shutdown, {connection_closing, {server_initiated_close, 541, _}}}, _}, + ?assertExit({{shutdown, {server_initiated_close, 406, _}}, _}, declare(Ch, SimilarQName, [{<<"x-queue-type">>, longstr, ?config(queue_type, Config)}])), -- cgit v1.2.1