Benchmark doesn't run
When I try to run benchmarks with MIX_ENV=benchmark mix pleroma.load_testing
it crashes and exits.
I'm new to benchmarking in Elixir. Not sure what the cause could be.
➜ pleroma git:(develop) MIX_ENV=benchmark mix pleroma.load_testing
RUM enabled: false
You may want to create benchmark.secret.exs to declare custom database connection parameters.
** (EXIT from #PID<0.94.0>) shutdown: failed to start child: Pleroma.Web.Endpoint
** (EXIT) shutdown: failed to start child: {:ranch_listener_sup, Pleroma.Web.Endpoint.HTTP}
** (EXIT) exited in: :gen_server.call(:ranch_server, {:set_new_listener_opts, Pleroma.Web.Endpoint.HTTP, 16384, %{max_connections: 16384, num_acceptors: 100, socket_opts: [port: 4001, ip: {127, 0, 0, 1}]}, %{env: %{dispatch: [{:_, [], [{["api", "fedsocket", "v1"], [], Pleroma.Web.FedSockets.IncomingHandler, []}, {["api", "v1", "streaming"], [], Pleroma.Web.MastodonAPI.WebsocketHandler, []}, {["websocket"], [], Phoenix.Endpoint.CowboyWebSocket, {Phoenix.Transports.WebSocket, {Pleroma.Web.Endpoint, Pleroma.Web.UserSocket, [path: "/websocket", serializer: [{Phoenix.Socket.V1.JSONSerializer, "~> 1.0.0"}, {Phoenix.Socket.V2.JSONSerializer, "~> 2.0.0"}], timeout: 60000, transport_log: false, compress: false]}}}, {:_, [], Phoenix.Endpoint.Cowboy2Handler, {Pleroma.Web.Endpoint, []}}]}]}, stream_handlers: [Plug.Cowboy.Stream]}, [Pleroma.Web.Endpoint.HTTP, :ranch_tcp, %{max_connections: 16384, num_acceptors: 100, socket_opts: [port: 4001, ip: {127, 0, 0, 1}]}, :cowboy_clear, %{env: %{dispatch: [{:_, [], [{["api", "fedsocket", "v1"], [], Pleroma.Web.FedSockets.IncomingHandler, []}, {["api", "v1", "streaming"], [], Pleroma.Web.MastodonAPI.WebsocketHandler, []}, {["websocket"], [], Phoenix.Endpoint.CowboyWebSocket, {Phoenix.Transports.WebSocket, {Pleroma.Web.Endpoint, Pleroma.Web.UserSocket, [path: "/websocket", serializer: [{Phoenix.Socket.V1.JSONSerializer, "~> 1.0.0"}, {Phoenix.Socket.V2.JSONSerializer, "~> 2.0.0"}], timeout: 60000, transport_log: false, compress: false]}}}, {:_, [], Phoenix.Endpoint.Cowboy2Handler, {Pleroma.Web.Endpoint, []}}]}]}, stream_handlers: [Plug.Cowboy.Stream]}]})
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started