Quality Review

Looked through test coverage and dialyzer output and attempted to fill
test gaps and strip out untestable code (to let it crash).
This commit is contained in:
martinsumner 2016-10-29 00:52:49 +01:00
parent 0e4632ee31
commit cdb01cd24f
7 changed files with 227 additions and 331 deletions

View file

@ -34,7 +34,7 @@
-record(level,
{level :: integer(),
is_basement = false :: boolean(),
timestamp :: integer()}).
timestamp :: erlang:timestamp()}).
-record(manifest_entry,
{start_key :: tuple(),
@ -53,7 +53,8 @@
cdb_options :: #cdb_options{},
start_snapshot = false :: boolean(),
source_inker :: pid(),
reload_strategy = [] :: list()}).
reload_strategy = [] :: list(),
max_run_length}).
-record(penciller_options,
{root_path :: string(),
@ -66,7 +67,8 @@
cache_size :: integer(),
max_journalsize :: integer(),
snapshot_bookie :: pid(),
reload_strategy = [] :: list()}).
reload_strategy = [] :: list(),
max_run_length :: integer()}).
-record(iclerk_options,
{inker :: pid(),