start_owner-exclamation-mark, go back to Ecto.Adapters.SQL.Sandbox module for more information.
Starts a process that owns the connection and returns its pid.
The owner process is not linked to the caller, it is your responsibility to
ensure it will be stopped. In tests, this is done by terminating the pool
setup tags do pid = Ecto.Adapters.SQL.Sandbox.start_owner!(MyApp.Repo, shared: not tags[:async]) on_exit(fn -> Ecto.Adapters.SQL.Sandbox.stop_owner(pid) end) :ok end
true, the pool runs in the shared mode. Defaults to
The remaining options are passed to