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/10/17 09:51:13 UTC

[couchdb] branch fix-upgrade_v5_test created (now 2074114)

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

jiangphcn pushed a change to branch fix-upgrade_v5_test
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


      at 2074114  Fix test failure on upgrade_v5_test

This branch includes the following new commits:

     new 2074114  Fix test failure on upgrade_v5_test

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 test failure on upgrade_v5_test

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

jiangphcn pushed a commit to branch fix-upgrade_v5_test
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 20741144decb2839e4c6ec07ed6625957bcb54a8
Author: jiangph <ji...@cn.ibm.com>
AuthorDate: Wed Oct 17 17:49:54 2018 +0800

    Fix test failure on upgrade_v5_test
    
    COUCHDB-3326
---
 src/couch/src/couch_bt_engine_header.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/src/couch_bt_engine_header.erl b/src/couch/src/couch_bt_engine_header.erl
index c603417..373905c 100644
--- a/src/couch/src/couch_bt_engine_header.erl
+++ b/src/couch/src/couch_bt_engine_header.erl
@@ -373,7 +373,7 @@ upgrade_v5_test() ->
     NewHeader = upgrade_disk_version(upgrade_tuple(Vsn5Header)),
 
     ?assert(is_record(NewHeader, db_header)),
-    ?assertEqual(5, disk_version(NewHeader)),
+    ?assertEqual(7, disk_version(NewHeader)),
 
     % Security ptr isn't changed for v5 headers
     ?assertEqual(bang, security_ptr(NewHeader)).