couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [couchdb] 05/26: FIXUP: Re-enable code purging
Date Thu, 20 Jul 2017 19:05:18 GMT
This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch optimize-ddoc-cache
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit d559d9a946134a158208fcf21295992dca062ae7
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
AuthorDate: Fri Jun 30 11:38:16 2017 -0500

    FIXUP: Re-enable code purging
    
    I have to disable this locally while doing coverage reports. However in
    CI it'll fail when something loads ddoc_cache code before we get to
    ddoc_cache's test suite. The pre-loaded version comes from the non-TEST
    compiled module which breaks test assertions.
---
 src/ddoc_cache/test/ddoc_cache_tutil.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ddoc_cache/test/ddoc_cache_tutil.erl b/src/ddoc_cache/test/ddoc_cache_tutil.erl
index cdd372b..6782b9d 100644
--- a/src/ddoc_cache/test/ddoc_cache_tutil.erl
+++ b/src/ddoc_cache/test/ddoc_cache_tutil.erl
@@ -21,7 +21,7 @@
 
 
 start_couch() ->
-    %purge_modules(),
+    purge_modules(),
     Ctx = test_util:start_couch(?CONFIG_CHAIN, [chttpd, ddoc_cache]),
     TmpDb = ?tempdb(),
     ok = fabric:create_db(TmpDb, [{q, "1"}, {n, "1"}]),

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <commits@couchdb.apache.org>.

Mime
View raw message