I have some tests that use flapdoodle embedded MongoDB which it tries to install in /home/circleci/.embedmongo and fails:
[info] java.lang.IllegalArgumentException: Could NOT create Directory /home/circleci/.embedmongo
[info] at de.flapdoodle.embed.process.store.LocalArtifactStore.createOrCheckDir(LocalArtifactStore.java:62)
[info] at de.flapdoodle.embed.process.store.LocalArtifactStore.createOrGetBaseDir(LocalArtifactStore.java:55)
[info] at de.flapdoodle.embed.process.store.LocalArtifactStore.getArtifact(LocalArtifactStore.java:70)
[info] at de.flapdoodle.embed.process.store.LocalArtifactStore.checkArtifact(LocalArtifactStore.java:38)
[info] at de.flapdoodle.embed.process.store.ArtifactStore.checkDistribution(ArtifactStore.java:65)
[info] at de.flapdoodle.embed.process.store.ExtractedArtifactStore.checkDistribution(ExtractedArtifactStore.java:60)
[info] at de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:56)
[info] at de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:49)
[info] at com.github.simplyscala.MongoEmbedDatabase.mongodExec(MongoEmbedDatabase.scala:48)
[info] at com.github.simplyscala.MongoEmbedDatabase.mongoStart(MongoEmbedDatabase.scala:25)
Anybody know how I can fix this?
Thanks