Startup work - baffled

Changes the stratup otpions to a prolist to make it easier to get
environment variables as default.

Tried application:start - and completely baffled as to how to get this
to work.
This commit is contained in:
martinsumner 2016-11-02 12:58:27 +00:00
parent ce34235f2f
commit e7506c3c1f
8 changed files with 90 additions and 106 deletions

View file

@ -18,8 +18,8 @@ all() -> [
simple_load_with2i(_Config) ->
RootPath = testutil:reset_filestructure(),
StartOpts1 = #bookie_options{root_path=RootPath,
max_journalsize=50000000},
StartOpts1 = [{root_path, RootPath},
{max_journalsize, 50000000}],
{ok, Bookie1} = leveled_bookie:book_start(StartOpts1),
{TestObject, TestSpec} = testutil:generate_testobject(),
ok = leveled_bookie:book_riakput(Bookie1, TestObject, TestSpec),