goncalotomas / FMKe

🛠️ Realistic benchmark for key value stores
Other
23 stars 8 forks source link

FMKe crashes when env var is integer #98

Closed goncalotomas closed 7 years ago

goncalotomas commented 7 years ago

Thanks to @Maryam81609 for reporting this issue :)

Available stack trace: Error in process <0.158.0> on node ct@murter with exit value: {{badmatch, {error, {fmk, {bad_return, {{fmk_app,start,[normal,[]]}, {'EXIT', {badarg, [{erlang,list_to_integer,[9090],[]}, {fmk_app,start,2, [{file, "/redacted/_build/default/lib/fmk/src/fmk_app.erl"}, {line,43}]}, {application_master,start_it_old,4, [{file,"application_master.erl"}, {line,273}]}]}}}}}}}, [{test_utils,start_sut_node,2, [{file, "/redacted/_build/default/lib/commander/src/test_utils.erl"}, {line,567}]}, {test_utils,'-pmap/2-fun-0-',4, [{file, "/redacted/_build/default/lib/commander/src/test_utils.erl"}, {line,80}]}]}

Issue comes from assuming env var is a string and converting to integer.

goncalotomas commented 7 years ago

Solved with a good ol' git pull