Hi,
running tests on Elixir 0.15.1 on a Mac OS X system fails:
"Stopping Hound and restarting with options for test suite..."
=INFO REPORT==== 23-Aug-2014::17:33:09 ===
application: hound
exited: stopped
type: temporary
=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.186.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.192.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.195.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
- test should get visible text of an element (ElementTestWithIds)
test/json_driver/element_with_ids_test.exs:7
** (exit) exited in: :gen_server.call(Hound.SessionServer, {:find_or_create_session, #PID<0.186.0>}, 60000)
** (EXIT) an exception was raised:
** (MatchError) no match of right hand side value: {:error, {:conn_failed, {:error, :econnrefused}}}
(hound) lib/hound/json_driver/utils.ex:39: Hound.JsonDriver.Utils.send_req/4
(hound) lib/hound/session_server.ex:22: Hound.SessionServer.handle_call/3
(stdlib) gen_server.erl:580: :gen_server.handle_msg/5
(stdlib) proc_lib.erl:239: :proc_lib.init_p_do_apply/3
stacktrace:
(stdlib) gen_server.erl:190: :gen_server.call/3
test/json_driver/element_with_ids_test.exs:5: ElementTestWithIds.ex_unit_setup_0/1
test/json_driver/element_with_ids_test.exs:1: ElementTestWithIds.__ex_unit/2
=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.198.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
-
test should return false if item is not selected (ElementTestWithIds)
test/json_driver/element_with_ids_test.exs:64
** (exit) exited in: :gen_server.call(Hound.SessionServer, {:find_or_create_session, #PID<0.192.0>}, 60000)
** (EXIT) an exception was raised:
** (MatchError) no match of right hand side value: {:error, {:conn_failed, {:error, :econnrefused}}}
(hound) lib/hound/json_driver/utils.ex:39: Hound.JsonDriver.Utils.send_req/4
(hound) lib/hound/session_server.ex:22: Hound.SessionServer.handle_call/3
(stdlib) gen_server.erl:580: :gen_server.handle_msg/5
(stdlib) proc_lib.erl:239: :proc_lib.init_p_do_apply/3
stacktrace:
(stdlib) gen_server.erl:190: :gen_server.call/3
test/json_driver/element_with_ids_test.exs:5: ElementTestWithIds.ex_unit_setup_0/1
test/json_driver/element_with_ids_test.exs:1: ElementTestWithIds.__ex_unit/2
-
test should submit a form element (ElementTestWithIds)
test/json_driver/element_with_ids_test.exs:138
** (exit) exited in: :gen_server.call(Hound.SessionServer, {:find_or_create_session, #PID<0.195.0>}, 60000)
** (EXIT) an exception was raised:
** (MatchError) no match of right hand side value: {:error, {:conn_failed, {:error, :econnrefused}}}
(hound) lib/hound/json_driver/utils.ex:39: Hound.JsonDriver.Utils.send_req/4
(hound) lib/hound/session_server.ex:22: Hound.SessionServer.handle_call/3
(stdlib) gen_server.erl:580: :gen_server.handle_msg/5
(stdlib) proc_lib.erl:239: :proc_lib.init_p_do_apply/3
stacktrace:
(stdlib) gen_server.erl:190: :gen_server.call/3
test/json_driver/element_with_ids_test.exs:5: ElementTestWithIds.ex_unit_setup_0/1
test/json_driver/element_with_ids_test.exs:1: ElementTestWithIds.__ex_unit/2
=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.201.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
- test should get css property of an element (ElementTestWithIds)
test/json_driver/element_with_ids_test.exs:123
** (exit) exited in: :gen_server.call(Hound.SessionServer, {:find_or_create_session, #PID<0.198.0>}, 60000)
** (EXIT) an exception was raised:
** (MatchError) no match of right hand side value: {:error, {:conn_failed, {:error, :econnrefused}}}
(hound) lib/hound/json_driver/utils.ex:39: Hound.JsonDriver.Utils.send_req/4
(hound) lib/hound/session_server.ex:22: Hound.SessionServer.handle_call/3
(stdlib) gen_server.erl:580: :gen_server.handle_msg/5
(stdlib) proc_lib.erl:239: :proc_lib.init_p_do_apply/3
stacktrace:
(stdlib) gen_server.erl:190: :gen_server.call/3
test/json_driver/element_with_ids_test.exs:5: ElementTestWithIds.ex_unit_setup_0/1
test/json_driver/element_with_ids_test.exs:1: ElementTestWithIds.__ex_unit/2
=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.204.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
** (EXIT from #PID<0.47.0>) shutdown