Closed renatomassaro closed 6 years ago
Insight: increasing the timeout of Channel-related tests (assert_reply
, assert_push
, assert_broadcast
) reduces the amount of errors, specially those of "Account already created" and "Ecto ownership error".
It is probably unrelated to Cache, and it may account for the third bullet.
Third bullet is solved on #322
Turns out two things happened:
describe
block, but weren't wrapped into the test/2
macro from ExUnit. This led them to completely ignore the Helix.Test.Case.Integration
sandbox.Bullets one and two were fixed on #329. So this issue is closed.
It happened because one test (queue_sync_test.exs) set the Sync interval to 50ms, which somehow impacted other tests, leading them to sync before it was supposed to.
For extra caution I've also modified the sync interval on the TEST
environment to never be called.
A few remarks: