diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2020-02-13 14:29:32 -0600 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2020-02-13 14:29:32 -0600 |
commit | 8899334daf310df60cf8fc405dc3b19d08339e89 (patch) | |
tree | f69315c43379c712e60f597a3921c0c7f81b8401 | |
parent | ec59327c39cb340420ba997e2d7575959356bf5a (diff) | |
download | couchdb-prototype/fdb-layer-get-dbs-info.tar.gz |
fixup: add db size testsprototype/fdb-layer-get-dbs-info
-rw-r--r-- | src/fabric/test/fabric2_db_size_tests.erl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/fabric/test/fabric2_db_size_tests.erl b/src/fabric/test/fabric2_db_size_tests.erl index 3ffca9f90..eb604fda2 100644 --- a/src/fabric/test/fabric2_db_size_tests.erl +++ b/src/fabric/test/fabric2_db_size_tests.erl @@ -40,6 +40,7 @@ db_size_test_() -> ?TDEF(delete_winning_revision), ?TDEF(delete_conflict_revision), ?TDEF(replicate_existing_revision), + ?TDEF(replicate_shared_history), ?TDEF(create_doc_with_attachment), ?TDEF(add_attachment_in_update), ?TDEF(add_second_attachment), @@ -146,6 +147,14 @@ replicate_existing_revision({Db, _}) -> ]). +replicate_shared_history({Db, _}) -> + check(Db, [ + {create, #{tgt => rev1, depth => 5}}, + {update, #{src => rev1, tgt => rev2, depth => 5}}, + {replcate, #{src => rev1, tgt => rev3, depth => 5}} + ]). + + create_doc_with_attachment({Db, _}) -> check(Db, [ {mk_att, #{tgt => att1}}, |