You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ji...@apache.org on 2018/08/23 05:54:04 UTC
[couchdb] branch 1573-export-all-for-pse-test created (now a5686f8)
This is an automated email from the ASF dual-hosted git repository.
jiangphcn pushed a change to branch 1573-export-all-for-pse-test
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at a5686f8 Fix make warning from cpse_test_purge_seqs.erl
This branch includes the following new commits:
new a5686f8 Fix make warning from cpse_test_purge_seqs.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 make warning from cpse_test_purge_seqs.erl
Posted by ji...@apache.org.
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 <ji...@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},