jsevellec / cassandra-unit-examples

Various examples of using cassandra-unit
45 stars 63 forks source link

FSWriteError when tests are in a submodule of a multimodule maven project #11

Closed ffissore closed 3 years ago

ffissore commented 8 years ago

When tests are located into a submodule of a multimodule maven project, both CassandraUnit and Cassandra (I'm using 2.2.6) fail to delete files in tmpDir. Frankly, I don't understand why: it looks like file.toPath() is fooled by a relative folder in Cassandra's FileUtiles.deleteWithConfirm. Anyway, running tests forcing working directory to be module's one and forking the jvm solves the issue This should also be part of the documentation

ffissore commented 8 years ago

I've also set forkMode to always, that speeds up tests execution