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/29 16:28:35 UTC

[couchdb] 03/04: Temporarily disable couch_auth_cache tests

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

commit 2b9d367d2119f448807fa945475893d51c472be5
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Tue Jan 28 15:26:07 2020 -0500

    Temporarily disable couch_auth_cache tests
    
    Consider porting to chttpd_auth_cache
---
 src/couch/test/eunit/couch_auth_cache_tests.erl | 50 ++++++++++++-------------
 1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/src/couch/test/eunit/couch_auth_cache_tests.erl b/src/couch/test/eunit/couch_auth_cache_tests.erl
index 5439dd7..e1d413f 100644
--- a/src/couch/test/eunit/couch_auth_cache_tests.erl
+++ b/src/couch/test/eunit/couch_auth_cache_tests.erl
@@ -33,31 +33,31 @@ teardown(DbName) ->
     ok.
 
 
-couch_auth_cache_test_() ->
-    {
-        "CouchDB auth cache tests",
-        {
-            setup,
-            fun start/0, fun test_util:stop_couch/1,
-            {
-                foreach,
-                fun setup/0, fun teardown/1,
-                [
-                    fun should_get_nil_on_missed_cache/1,
-                    fun should_get_right_password_hash/1,
-                    fun should_ensure_doc_hash_equals_cached_one/1,
-                    fun should_update_password/1,
-                    fun should_cleanup_cache_after_userdoc_deletion/1,
-                    fun should_restore_cache_after_userdoc_recreation/1,
-                    fun should_drop_cache_on_auth_db_change/1,
-                    fun should_restore_cache_on_auth_db_change/1,
-                    fun should_recover_cache_after_shutdown/1,
-                    fun should_close_old_db_on_auth_db_change/1,
-                    fun should_get_admin_from_config/1
-                ]
-            }
-        }
-    }.
+% couch_auth_cache_test_() ->
+%     {
+%         "CouchDB auth cache tests",
+%         {
+%             setup,
+%             fun start/0, fun test_util:stop_couch/1,
+%             {
+%                 foreach,
+%                 fun setup/0, fun teardown/1,
+%                 [
+%                     fun should_get_nil_on_missed_cache/1,
+%                     fun should_get_right_password_hash/1,
+%                     fun should_ensure_doc_hash_equals_cached_one/1,
+%                     fun should_update_password/1,
+%                     fun should_cleanup_cache_after_userdoc_deletion/1,
+%                     fun should_restore_cache_after_userdoc_recreation/1,
+%                     fun should_drop_cache_on_auth_db_change/1,
+%                     fun should_restore_cache_on_auth_db_change/1,
+%                     fun should_recover_cache_after_shutdown/1,
+%                     fun should_close_old_db_on_auth_db_change/1,
+%                     fun should_get_admin_from_config/1
+%                 ]
+%             }
+%         }
+%     }.
 
 auth_vdu_test_() ->
     Cases = [