Open teesloane opened 3 months ago
I took a look at this, but didn't make great progress. Here's what I've learned so far:
first off, I'm not seeing the Presence issue. Hooray! But we are seeing this issue now:
18:06:16.499 [error] Postgrex.Protocol (#PID<0.482.0>) disconnected: ** (DBConnection.ConnectionError) client #PID<0.1256.0> exited
I looked into the error and found a suggestion on the elixir forum.
When running mix test
with --trace` and a slowdown on exit, we can see where the postgrex timeout's are showing up.
Here are the culprits, as text:
BikeBrigadeWeb.CampaignLiveTest [test/bike_brigade_web/live/campaign_live_test.exs]
* test Show with riders Can assign a rider to a task [L#199]18:06:02.780 [error] Postgrex.Protocol (#PID<0.479.0>) disconnected: ** (DBConnection.ConnectionError) client #PID<0.961.0> exited
* test Show with riders Can unassign a rider from a task [L#224]18:06:03.868 [error] Postgrex.Protocol (#PID<0.488.0>) disconnected: ** (DBConnection.ConnectionError) client #PID<0.981.0> exited
BikeBrigadeWeb.CampaignSignupLiveTest [test/bike_brigade_web/live/campaign_signup_live_test.exs]
* test Show Rider can signup for a task [L#175]18:06:16.499 [error] Postgrex.Protocol (#PID<0.482.0>) disconnected: ** (DBConnection.ConnectionError) client #PID<0.1256.0> exited
I think I'll come back to this a bit later, as it doesn't really constitute a failing test and I think is low priority.
Every time I run tests this spews:
And I have just ignored it forever because it's a skipped test.
Let's fix it!