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/28 19:35:44 UTC

[49/50] [abbrv] couch commit: updated refs/heads/1963-eunit-bigcouch to 3ecd0a0

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/3124c923
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/3124c923
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/3124c923

Branch: refs/heads/1963-eunit-bigcouch
Commit: 3124c923e69a98522fb486cbb1df39e6c4f502b4
Parents: 69afc40
Author: Russell Branca <ch...@apache.org>
Authored: Thu Aug 21 13:40:08 2014 -0700
Committer: Russell Branca <ch...@apache.org>
Committed: Thu Aug 28 10:34:31 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/3124c923/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) ->