Scalatest deadlocks very easily
Minimal example: https://scastie.scala-lang.org/NU86Wy4kTTukZzaSTUM2VA
I think this is because AsyncIOSpec passes scalatest's executionContext which is serialExecutionContext and not really suitable for general-purpose use.
Hmm, what's the ideal solution here? Is it better to just override ScalaTest's ExecutionContext? I don't actually use ScalaTest so I can't speak to its idiomatic usage.
Overriding the executionContext seems to work. I avoid ScalaTest as much as possible myself TBH, I don't know what's considered idiomatic there.
What should we override it with? The IORuntime default EC?
Sounds reasonable to me.
Alrighty, it's duly on my todo list (PRs welcome if someone gets to it first!)