Handling 'returned' in penciller unit tests

The unit tests for the Penciller couldn't cope with the returned status
- and so would intermittently fail (after tightening the timeout on sft
check_ready.
This commit is contained in:
martinsumner 2016-10-26 21:03:50 +01:00
parent 254183369e
commit 4cdc6211a0
3 changed files with 16 additions and 12 deletions

View file

@ -96,7 +96,7 @@ simple_querycount(_Config) ->
Book1,
?KEY_ONLY),
ok = leveled_bookie:book_close(Book1),
{ok, Book2} = leveled_bookie:book_start(RootPath, 2000, 50000000),
{ok, Book2} = leveled_bookie:book_start(RootPath, 1000, 50000000),
Index1Count = count_termsonindex("Bucket",
"idx1_bin",
Book2,