You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2020/01/28 21:32:11 UTC
[couchdb] branch 2493-remove-auth-cache updated: Start chttpd
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch 2493-remove-auth-cache
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/2493-remove-auth-cache by this push:
new 6cd767b Start chttpd
6cd767b is described below
commit 6cd767bb56d62522c405a090642550c559d75a7d
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Tue Jan 28 16:09:30 2020 -0500
Start chttpd
---
src/couch/test/eunit/couch_db_mpr_tests.erl | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/couch/test/eunit/couch_db_mpr_tests.erl b/src/couch/test/eunit/couch_db_mpr_tests.erl
index 30ac983..3005127 100644
--- a/src/couch/test/eunit/couch_db_mpr_tests.erl
+++ b/src/couch/test/eunit/couch_db_mpr_tests.erl
@@ -27,6 +27,12 @@
{"Content-Type", "multipart/related;boundary=\"bound\""}).
+start() ->
+ test_util:start_couch([chttpd]).
+
+stop(Ctx) ->
+ test_util:stop_couch(Ctx).
+
setup() ->
Hashed = couch_passwords:hash_admin_password(?PASS),
ok = config:set("admins", ?USER, ?b2l(Hashed), _Persist=false),
@@ -64,8 +70,8 @@ couch_db_mpr_test_() ->
"multi-part attachment tests",
{
setup,
- fun test_util:start_couch/0,
- fun test_util:stop_couch/1,
+ fun start/0,
+ fun stop/1,
{
foreach,
fun setup/0,