diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2009-08-06 14:26:16 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2009-08-06 14:26:16 +0000 |
commit | dfea1d87c21bbe8c8d894941fc17c9d617c44b9a (patch) | |
tree | 2061f013771701459057615d842615f8e3fecadb /src/ibrowse/ibrowse_test.erl | |
parent | a3db9718d010de437823be88c4f91cf1f031265f (diff) |
upgrade ibrowse to 1.5.2. Closes COUCHDB-451
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@801657 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ibrowse/ibrowse_test.erl')
-rw-r--r-- | src/ibrowse/ibrowse_test.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ibrowse/ibrowse_test.erl b/src/ibrowse/ibrowse_test.erl index cab1f882..3dc66ecf 100644 --- a/src/ibrowse/ibrowse_test.erl +++ b/src/ibrowse/ibrowse_test.erl @@ -231,6 +231,7 @@ unit_tests(Options) -> {'DOWN', Ref, _, _, Info} -> io:format("Test process crashed: ~p~n", [Info]) after 60000 -> + exit(Pid, kill), io:format("Timed out waiting for tests to complete~n", []) end. @@ -301,6 +302,9 @@ wait_for_resp(Pid) -> receive {async_result, Pid, Res} -> Res; + {async_result, Other_pid, _} -> + io:format("~p: Waiting for result from ~p: got from ~p~n", [self(), Pid, Other_pid]), + wait_for_resp(Pid); {'DOWN', _, _, Pid, Reason} -> {'EXIT', Reason}; {'DOWN', _, _, _, _} -> |