We've got an odd problem when trying to execute ScalaTest's from within IntelliJ. When the tests are run and pass then everything works really well. But when the tests are run and something fails then we have to sit and wait about 5 minutes while IntelliJ becomes unresponsive and uses 100% CPU. Eventually it'll finish doing whatever it's doing and give the failing report.
Anyone able to give some clues as to what might be wrong? Or maybe a good approach to diagnosing what IntelliJ and/or the Scala plugin are up to in those extremely intensive 5 mins?
The only thing we can think of that's particularly weird about our project is its size. It's a huge project with a massive classpath. Would that cause issues?
This is a bit of a duplicate of Tong's post to the ScalaTest forum https://groups.google.com/forum/#!topic/scalatest-users/F4iLSb0PVoc but I'm pretty sure this is specific to the IntelliJ Scala plugin as it doesn't affect running ScalaTest from gradle or running ScalaTests in Eclipse.