summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-11-24 12:21:13 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2011-11-24 12:21:13 +0000
commitf8bb22faff3fefc47c0dcc434117837e49d0c301 (patch)
tree210c61c98450ee72067005c4a2bfc339a11b1cff
parentad9b0f5d1c18adf45d65bb9cc4661b9175058344 (diff)
downloadrabbitmq-server-f8bb22faff3fefc47c0dcc434117837e49d0c301.tar.gz
better reporting of location of failed test
-rw-r--r--src/mirrored_supervisor_tests.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mirrored_supervisor_tests.erl b/src/mirrored_supervisor_tests.erl
index ea0a6908..6c91bc4f 100644
--- a/src/mirrored_supervisor_tests.erl
+++ b/src/mirrored_supervisor_tests.erl
@@ -158,7 +158,7 @@ test_no_migration_on_shutdown() ->
try
call(worker, ping),
exit(worker_should_not_have_migrated)
- catch exit:{timeout_waiting_for_server, _} ->
+ catch exit:{timeout_waiting_for_server, _, _} ->
ok
end
end, [evil, good]).
@@ -248,7 +248,7 @@ get_group(Group) ->
call(Id, Msg) -> call(Id, Msg, 1000, 100).
call(Id, Msg, 0, _Decr) ->
- exit({timeout_waiting_for_server, {Id, Msg}});
+ exit({timeout_waiting_for_server, {Id, Msg}, erlang:get_stacktrace()});
call(Id, Msg, MaxDelay, Decr) ->
try