You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2020/01/09 15:39:54 UTC

[couchdb] branch fix-chttpd-purge-tests created (now 1b6caf8)

This is an automated email from the ASF dual-hosted git repository.

davisp pushed a change to branch fix-chttpd-purge-tests
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


      at 1b6caf8  Fix chttpd_purge_tests.erl

This branch includes the following new commits:

     new 1b6caf8  Fix chttpd_purge_tests.erl

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 01/01: Fix chttpd_purge_tests.erl

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch fix-chttpd-purge-tests
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 1b6caf8c136b89a8aed4c0b1fd46d8ba3ccaa4e0
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Thu Jan 9 09:35:04 2020 -0600

    Fix chttpd_purge_tests.erl
    
    Fixes #2424
---
 src/chttpd/test/eunit/chttpd_purge_tests.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/chttpd/test/eunit/chttpd_purge_tests.erl b/src/chttpd/test/eunit/chttpd_purge_tests.erl
index dbd73de..ab43568 100644
--- a/src/chttpd/test/eunit/chttpd_purge_tests.erl
+++ b/src/chttpd/test/eunit/chttpd_purge_tests.erl
@@ -24,7 +24,8 @@
 
 
 setup() ->
-    ok = config:set("admins", ?USER, ?PASS, _Persist=false),
+    Hashed = couch_passwords:hash_admin_password(?PASS),
+    ok = config:set("admins", ?USER, ?b2l(Hashed), _Persist=false),
     TmpDb = ?tempdb(),
     Addr = config:get("chttpd", "bind_address", "127.0.0.1"),
     Port = mochiweb_socket_server:get(chttpd, port),