From faa5ef82aae1ba13a1ec3cf14af48821bd4f6e2a Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Mon, 20 Nov 2017 15:31:31 +0000 Subject: [PATCH] Test logging of samples To prompt the log the journal size needs to be reduced --- src/leveled_log.erl | 6 +++--- test/end_to_end/basic_SUITE.erl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/leveled_log.erl b/src/leveled_log.erl index 826bf6b..4fcc1ba 100644 --- a/src/leveled_log.erl +++ b/src/leveled_log.erl @@ -329,9 +329,9 @@ {"CDB18", {info, "Handled return and write of hashtable"}}, {"CDB19", - {info, "Sample timings in microseconds for sample_count=~w" - ++ "totals of cycle_count=~w " - ++ "fetch_time=~w index_time=~w "}} + {info, "Sample timings in microseconds for sample_count=~w " + ++ "with totals of cycle_count=~w " + ++ "fetch_time=~w index_time=~w"}} ]). diff --git a/test/end_to_end/basic_SUITE.erl b/test/end_to_end/basic_SUITE.erl index f73132b..56a473b 100644 --- a/test/end_to_end/basic_SUITE.erl +++ b/test/end_to_end/basic_SUITE.erl @@ -82,7 +82,7 @@ many_put_fetch_head(_Config) -> testutil:check_forobject(Bookie1, TestObject), ok = leveled_bookie:book_close(Bookie1), StartOpts2 = [{root_path, RootPath}, - {max_journalsize, 500000000}, + {max_journalsize, 50000000}, {max_pencillercachesize, 32000}, {sync_strategy, testutil:sync_strategy()}, {compression_point, on_receipt}],