couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [48/50] [abbrv] couch commit: updated refs/heads/1963-eunit-bigcouch to 2b2f129
Date Fri, 05 Sep 2014 02:30:27 GMT
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 <chewbranca@apache.org>
Authored: Thu Aug 21 13:40:08 2014 -0700
Committer: Russell Branca <chewbranca@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) ->


Mime
View raw message