In some tests, we change the permission of some files in order to make indexing fail and to test the behavior of Hibernate Search when such failure happens. That's neat as it allows us to simulate very low-level errors without relying on bytecode manipulation, but... it currently leaves files on the filesystem that cannot be removed with mvn clean. We should add a cleanup to tests relying on this permission change, so as to restore original permissions after the test. |