You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running mix test on an app using phoenix_sync as a dependency results in this error. Presumably there's something up with the way Electric is creating the replication slot in test when running in embedded mode:
➜ conductor git:(main) ✗ mix test
Running ExUnit with seed: 20540, max_cases: 16
05:10:41.136 [error] :gen_statem {:"Elixir.Electric.ProcessRegistry:electric-embedded", {Electric.Postgres.ReplicationClient, nil}} terminating
** (Postgrex.Error) ERROR 55000 (object_not_in_prerequisite_state) replication slot "electric_slot_default" was not created in this database
(stdlib 6.2) gen_statem.erl:3864: :gen_statem.loop_state_callback_result/11
(stdlib 6.2) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
Process Label: :replication_client
Queue: [info: :start_streaming]
Postponed: []
The text was updated successfully, but these errors were encountered:
Running mix test on an app using phoenix_sync as a dependency results in this error. Presumably there's something up with the way Electric is creating the replication slot in test when running in embedded mode:
The text was updated successfully, but these errors were encountered: