Quality review

Minor test fix-up and quality changes
This commit is contained in:
martinsumner 2016-10-30 22:06:44 +00:00
parent 0e6ee486f8
commit 311179964a
5 changed files with 19 additions and 41 deletions

View file

@ -12,13 +12,13 @@
]).
all() -> [
% simple_put_fetch_head_delete,
% many_put_fetch_head,
journal_compaction %,
% fetchput_snapshot,
% load_and_count,
% load_and_count_withdelete,
% space_clear_ondelete
simple_put_fetch_head_delete,
many_put_fetch_head,
journal_compaction,
fetchput_snapshot,
load_and_count,
load_and_count_withdelete,
space_clear_ondelete
].
@ -60,6 +60,7 @@ simple_put_fetch_head_delete(_Config) ->
ok = leveled_bookie:book_delete(Bookie3, "Bucket1", "Key2",
[{remove, "Index1", "Term1"}]),
not_found = leveled_bookie:book_get(Bookie3, "Bucket1", "Key2"),
not_found = leveled_bookie:book_head(Bookie3, "Bucket1", "Key2"),
ok = leveled_bookie:book_close(Bookie3),
{ok, Bookie4} = leveled_bookie:book_start(StartOpts2),
not_found = leveled_bookie:book_get(Bookie4, "Bucket1", "Key2"),

View file

@ -15,7 +15,7 @@ retain_strategy(_Config) ->
cache_size=1000,
max_journalsize=5000000,
reload_strategy=[{?RIAK_TAG, retain}]},
BookOptsAlt = BookOpts#bookie_options{max_run_length=6,
BookOptsAlt = BookOpts#bookie_options{max_run_length=8,
max_journalsize=100000},
{ok, Spcl3, LastV3} = rotating_object_check(BookOpts, "Bucket3", 800),
ok = restart_from_blankledger(BookOpts, [{"Bucket3", Spcl3, LastV3}]),