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/09/05 04:30:27 UTC

[48/50] [abbrv] couch commit: updated refs/heads/1963-eunit-bigcouch to 2b2f129

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

Branch: refs/heads/1963-eunit-bigcouch
Commit: 149cd823b3417409ed09bb03c51abe788c3b816f
Parents: 0adc31a
Author: Russell Branca <ch...@apache.org>
Authored: Thu Aug 21 13:40:08 2014 -0700
Committer: Russell Branca <ch...@apache.org>
Committed: Thu Sep 4 14:37:35 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/149cd823/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) ->