Closed kianmeng closed 10 months ago
I managed to reproduce this, have a feeling it's related to OTP more than the Elixir version (unless it's somehow a bug in Elixir, because they shouldn't have broken the interface in a minor release).
I'll investigate further!
Okay, I'm fairly confident this is only showing up during tests, I don't think there's a "real" bug here.
It seems to be that the Janitor is not being closed properly when ExUnit exits; it's some sort of cleanup issue in tests that somehow only became a thing in Elixir v1.15+.
Ah, never mind - I found the issue and filed https://github.com/whitfin/cachex/pull/321.
I guess older versions of Elixir were just masking this issue, but it's a legitimate bug (in the tests). I've fixed it and this shouldn't happen anymore.
Env:
Steps to reproduce: