couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiangp...@apache.org
Subject [couchdb] 01/01: Fix make warning from cpse_test_purge_seqs.erl
Date Thu, 23 Aug 2018 05:54:05 GMT
This is an automated email from the ASF dual-hosted git repository.

jiangphcn pushed a commit to branch 1573-export-all-for-pse-test
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit a5686f82e8651f00da7d7b7527c5714976110520
Author: jiangph <jiangph@cn.ibm.com>
AuthorDate: Thu Aug 23 13:52:34 2018 +0800

    Fix make warning from cpse_test_purge_seqs.erl
    
    Fixes #1572
---
 src/couch_pse_tests/src/cpse_test_purge_seqs.erl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/couch_pse_tests/src/cpse_test_purge_seqs.erl b/src/couch_pse_tests/src/cpse_test_purge_seqs.erl
index c061747..a943fc4 100644
--- a/src/couch_pse_tests/src/cpse_test_purge_seqs.erl
+++ b/src/couch_pse_tests/src/cpse_test_purge_seqs.erl
@@ -11,6 +11,8 @@
 % the License.
 
 -module(cpse_test_purge_seqs).
+-compile(export_all).
+
 
 -include_lib("eunit/include/eunit.hrl").
 -include_lib("couch/include/couch_db.hrl").
@@ -99,7 +101,7 @@ cpse_increment_purge_seq_on_partial_purge(DbName) ->
     Doc1 = {[{'_id', foo}, {vsn, 1}]},
     Doc2 = {[{'_id', foo}, {vsn, 2}]},
     {ok, Rev1} = cpse_util:save_doc(DbName, Doc1),
-    {ok, Rev2} = cpse_util:save_doc(DbName, Doc2, [replicated_changes]),
+    {ok, _Rev2} = cpse_util:save_doc(DbName, Doc2, [replicated_changes]),
 
     cpse_util:assert_db_props(?MODULE, ?LINE, DbName, [
         {doc_count, 1},


Mime
View raw message