Log and coverage tidy

These logs duplicate information being received from other logs, so reduced to debug.

The long running test needs to change with the LONG_RUNNING macro
This commit is contained in:
Martin Sumner 2019-02-14 15:20:54 +00:00
parent 6c2fbcb80e
commit 1776220148
2 changed files with 4 additions and 4 deletions

View file

@ -2976,7 +2976,7 @@ scan_table_test() ->
longrunning_test() -> longrunning_test() ->
SW = os:timestamp(), SW = os:timestamp(),
timer:sleep(100), timer:sleep(?LONG_RUNNING div 1000 + 100),
ok = maybe_longrunning(SW, put). ok = maybe_longrunning(SW, put).
coverage_cheat_test() -> coverage_cheat_test() ->
@ -3020,7 +3020,7 @@ erase_journal_test() ->
HeadsNotFound2 = lists:foldl(CheckHeadFun(Bookie2), 0, ObjL1), HeadsNotFound2 = lists:foldl(CheckHeadFun(Bookie2), 0, ObjL1),
?assertMatch(500, HeadsNotFound2), ?assertMatch(500, HeadsNotFound2),
ok = book_destroy(Bookie2). ok = book_destroy(Bookie2).
check_notfound_test() -> check_notfound_test() ->
ProbablyFun = fun() -> probably end, ProbablyFun = fun() -> probably end,
MissingFun = fun() -> missing end, MissingFun = fun() -> missing end,

View file

@ -89,7 +89,7 @@
{"P0004", {"P0004",
{debug, "Remaining ledger snapshots are ~w"}}, {debug, "Remaining ledger snapshots are ~w"}},
{"P0005", {"P0005",
{info, "Delete confirmed as file ~s is removed from Manifest"}}, {debug, "Delete confirmed as file ~s is removed from Manifest"}},
{"P0006", {"P0006",
{info, "Orphaned reply after timeout on L0 file write ~s"}}, {info, "Orphaned reply after timeout on L0 file write ~s"}},
{"P0007", {"P0007",
@ -201,7 +201,7 @@
{"PC011", {"PC011",
{info, "Merge completed with MSN=~w to Level=~w and FileCounter=~w"}}, {info, "Merge completed with MSN=~w to Level=~w and FileCounter=~w"}},
{"PC012", {"PC012",
{info, "File to be created as part of MSN=~w Filename=~s " {debug, "File to be created as part of MSN=~w Filename=~s "
++ "IsBasement=~w"}}, ++ "IsBasement=~w"}},
{"PC013", {"PC013",
{warn, "Merge resulted in empty file ~s"}}, {warn, "Merge resulted in empty file ~s"}},