Hi, all,
I'm getting a funny crash when I run functional tests that wasn't ther last time I ran them, which was way too long ago. The message is:
Found tests: ["cb_admin_test","mainpage"]
Running: "cb_admin_test"
Root test ======================================================================
Passed: 0
Failed: 0
Running: "mainpage"
Root test {"init terminating in do_boot",{function_clause,[{boss_web_controller_handle_request,process_result,[{boss_app_info,myapp,[],undefined,undefined,undefined,[],<0.234.0>,<0.235.0>,<0.287.0>,<0.288.0>,[
followed by several lists containing the names of all my controllers, models, and views, and that followed by
]},{simple_bridge_request_wrapper,mochiweb_request_bridge,{mochiweb_request,[false,'GET',"/",{1,0},{0,nil}]},false,[],[],none},ok],[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,340}]},{boss_web_controller_handle_request,process_result_and_add_session,3,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,315}]},{boss_web_test,get_request_loop,1,[{file,"src/boss/boss_web_test.erl"},{line,338}]}]}}
As near as I can parse this out, it looks like boss_web_conroller_handle_request:process_result/3 is getting (AppInfo, Req,ok) instead of (_,_,{ok,Payload,Headers}) that it's expecting.
Is anybody else seeing this, and does anybody know what's going wrong? I'm using 0.8.12, and the test code for mainpage:atart) is:
start() ->
boss_web_test:get_request("/",[],[],[]),
{0,[]}.
Thanks,
- ken