How to test a GenServer using PhoenixClient without stumbling on Ecto Sandbox concurrency?
** (MatchError) no match of right hand side value: {:error, {{:badmatch, :already_shared}, [{Ecto.Adapters.SQL.Sandbox, :"-start_owner!/2-fun-0-", 3, [file: 'lib/ecto/adapters/sql/sandbox.ex', line: 410]}, {Agent.Server, :init, 1, [file: 'lib/agent/server.ex', line: 8]}, {:gen_server, :init_it, 2, [file: 'gen_server.erl', line: 848]}, {:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 811]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}}
Furthermore, considering PhoenixClient connects to a socket hosted in the same project, will it be available at ws://localhost:4000/socket/websocket?
How to test a GenServer using PhoenixClient without stumbling on Ecto Sandbox concurrency?
** (MatchError) no match of right hand side value: {:error, {{:badmatch, :already_shared}, [{Ecto.Adapters.SQL.Sandbox, :"-start_owner!/2-fun-0-", 3, [file: 'lib/ecto/adapters/sql/sandbox.ex', line: 410]}, {Agent.Server, :init, 1, [file: 'lib/agent/server.ex', line: 8]}, {:gen_server, :init_it, 2, [file: 'gen_server.erl', line: 848]}, {:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 811]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}}Furthermore, considering PhoenixClient connects to a socket hosted in the same project, will it be available at
ws://localhost:4000/socket/websocket?