Updated Branches: refs/heads/master 86bf97504 -> a2bea1f94
Add 100ms sleep to etap:end_tests() to prevent hanging It's not clear if this is etap, escript, prove, or couchdb. This needs further investigation. Jira-1424 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/a2bea1f9 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/a2bea1f9 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/a2bea1f9 Branch: refs/heads/master Commit: a2bea1f9406f6dfcb8ce512f9054bcdef6995641 Parents: 9b50d34 Author: bitdiddle <[email protected]> Authored: Thu Mar 8 16:13:23 2012 -0500 Committer: bitdiddle <[email protected]> Committed: Thu Mar 8 16:13:23 2012 -0500 ---------------------------------------------------------------------- src/etap/etap.erl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/a2bea1f9/src/etap/etap.erl ---------------------------------------------------------------------- diff --git a/src/etap/etap.erl b/src/etap/etap.erl index 7d2ee8c..c76b980 100644 --- a/src/etap/etap.erl +++ b/src/etap/etap.erl @@ -77,6 +77,7 @@ plan(N) when is_integer(N), N > 0 -> %% @doc End the current test plan and output test results. %% @todo This should probably be done in the test_server process. end_tests() -> + timer:sleep(100), ensure_coverage_ends(), etap_server ! {self(), state}, State = receive X -> X end,
