summaryrefslogtreecommitdiff
path: root/src
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
commitc99557f6fbe00eb6c29832b169bee68813f24a77 (patch)
tree210c61c98450ee72067005c4a2bfc339a11b1cff /src
parente0634891c8164d6fe0aebbaab3bfb077acf2e447 (diff)
downloadrabbitmq-server-git-c99557f6fbe00eb6c29832b169bee68813f24a77.tar.gz
better reporting of location of failed test
Diffstat (limited to 'src')
-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 ea0a690843..6c91bc4fd5 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