Open fblundun opened 9 years ago
sbt runs tests in parallel, so multiple threads can simultaneously access the TestResolver here and so simultaneously access its LRUCache, which is not thread-safe.
This would be resolved by #28 but for now we can just create a new TestResolver whenever we need it.
Actually, parallel execution in tests seems to be set to false here.
parallelExecution in Test := false, // Parallel tests cause havoc with LRU cache
I don't know what else could have gone wrong - the keys are definitely immutable.
Pushing back...
In build https://travis-ci.org/snowplow/iglu-scala-client/jobs/81756147