couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bitdid...@apache.org
Subject [1/2] git commit: Add 100ms sleep to etap:end_tests() to prevent hanging
Date Thu, 08 Mar 2012 21:05:06 GMT
Updated Branches:
  refs/heads/1.2.x b89433371 -> 04b562243


Add 100ms sleep to etap:end_tests() to prevent hanging

It's not clear if the issue 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/04b56224
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/04b56224
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/04b56224

Branch: refs/heads/1.2.x
Commit: 04b5622430d2f8ade89b66698780517c185ebb7e
Parents: ec8e002
Author: bitdiddle <bitdiddle@apache.org>
Authored: Thu Mar 8 16:03:46 2012 -0500
Committer: bitdiddle <bitdiddle@apache.org>
Committed: Thu Mar 8 16:03:46 2012 -0500

----------------------------------------------------------------------
 src/etap/etap.erl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/04b56224/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,


Mime
View raw message