diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-05-28 11:06:54 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-05-28 11:06:54 +0100 |
commit | 359057492421c9ad42a2e466c9eb19384e7da0ad (patch) | |
tree | 23aa9bbc6d7e774038cfc56f0954645288f9415a /quickcheck | |
parent | 8dfc2b17bfa228c0f6310331fa8ebc0cc53f1a26 (diff) | |
download | rabbitmq-server-359057492421c9ad42a2e466c9eb19384e7da0ad.tar.gz |
Display errors on failure.
Diffstat (limited to 'quickcheck')
-rwxr-xr-x | quickcheck | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,7 +17,8 @@ main([NodeStr, ModStr, TrialsStr]) -> case rpc:call(Node, proper, module, [Mod] ++ [[{numtests, Trials}, {constraint_tries, 200}]]) of [] -> ok; - _ -> quit(1) + R -> io:format("~p.~n", [R]), + quit(1) end; {badrpc, Reason} -> io:format("Could not contact node ~p: ~p.~n", [Node, Reason]), |