You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2014/08/26 23:00:36 UTC

[45/50] [abbrv] couch commit: updated refs/heads/1963-eunit-bigcouch to 0efdc71

Use mochiweb_http:stop instead of gen_server:cast(.., stop)

The version of mochiweb currently used does not support sending a cast
stop message, so use the builtin stop function.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/305ed95f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/305ed95f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/305ed95f

Branch: refs/heads/1963-eunit-bigcouch
Commit: 305ed95fe87022ca97707706142c387cf4b1ae24
Parents: 230d5f8
Author: Russell Branca <ch...@apache.org>
Authored: Thu Aug 21 13:40:08 2014 -0700
Committer: Russell Branca <ch...@apache.org>
Committed: Tue Aug 26 13:59:33 2014 -0700

----------------------------------------------------------------------
 test/test_web.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/305ed95f/test/test_web.erl
----------------------------------------------------------------------
diff --git a/test/test_web.erl b/test/test_web.erl
index 98172d0..d568b7e 100644
--- a/test/test_web.erl
+++ b/test/test_web.erl
@@ -69,7 +69,7 @@ terminate(_Reason, _State) ->
     ok.
 
 stop() ->
-    gen_server:cast(?SERVER, stop).
+    mochiweb_http:stop(?SERVER).
 
 
 handle_call({check_request, Req}, _From, State) when is_function(State, 1) ->