Add test for string and binary buckets

Tried an integer bucket - and this didn't work!

Integers are < null - and so is_empty won't work as expected.
This commit is contained in:
Martin Sumner 2018-09-03 10:38:19 +01:00
parent ca8aa051d7
commit f400e8b46d

View file

@ -2183,12 +2183,12 @@ is_empty_headonly_test() ->
foldkeys_headonly_test() -> foldkeys_headonly_test() ->
foldkeys_headonly_tester(5000, 25). foldkeys_headonly_tester(5000, 25, "BucketStr"),
foldkeys_headonly_tester(2000, 25, <<"B0">>).
foldkeys_headonly_tester(ObjectCount, BlockSize) -> foldkeys_headonly_tester(ObjectCount, BlockSize, BStr) ->
RootPath = reset_filestructure(), RootPath = reset_filestructure(),
BStr = "BucketStr",
{ok, Bookie1} = book_start([{root_path, RootPath}, {ok, Bookie1} = book_start([{root_path, RootPath},
{max_journalsize, 1000000}, {max_journalsize, 1000000},