summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2019-02-20 12:14:01 +0300
committerMichael Klishin <mklishin@pivotal.io>2019-02-20 12:14:01 +0300
commit2a788486dfbc6f5f47e8e905675400e4ed38431b (patch)
tree27bb5ac099cff0f952ee759fc0e3c53ae8b9fcdd
parent4965daac497aa3148cc47ed8347b514a484ed3d6 (diff)
downloadrabbitmq-server-git-2a788486dfbc6f5f47e8e905675400e4ed38431b.tar.gz
Quorum queue suite: CT logging tweaks
-rw-r--r--test/quorum_queue_SUITE.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/quorum_queue_SUITE.erl b/test/quorum_queue_SUITE.erl
index 320970a90f..e5d631dfcf 100644
--- a/test/quorum_queue_SUITE.erl
+++ b/test/quorum_queue_SUITE.erl
@@ -642,13 +642,10 @@ shrink_all(Config) ->
declare(Ch, AQ, [{<<"x-queue-type">>, longstr, <<"quorum">>}])),
timer:sleep(500),
Result = rpc:call(Server0, rabbit_quorum_queue, shrink_all, [Server2]),
- ct:pal("shring all result ~p", [Result]),
?assertMatch([{_, {ok, 2}}, {_, {ok, 2}}], Result),
Result1 = rpc:call(Server0, rabbit_quorum_queue, shrink_all, [Server1]),
- ct:pal("shring all result ~p", [Result1]),
?assertMatch([{_, {ok, 1}}, {_, {ok, 1}}], Result1),
Result2 = rpc:call(Server0, rabbit_quorum_queue, shrink_all, [Server0]),
- ct:pal("shring all result ~p", [Result2]),
?assertMatch([{_, {error, 1, last_node}},
{_, {error, 1, last_node}}], Result2),
ok.
@@ -672,7 +669,7 @@ subscribe_should_fail_when_global_qos_true(Config) ->
_ -> exit(subscribe_should_not_pass)
catch
_:_ = Err ->
- ct:pal("Err ~p", [Err])
+ ct:pal("subscribe_should_fail_when_global_qos_true caught an error: ~p", [Err])
end,
ok.