Keep running into file permission problems when running elasticsearch automated tests on Windows


After cloning the repo from Github, I've tried running the tests several times with gradle check, but every time, sooner or later I run into some kind of file permission problem:

Caused by: java.nio.file.AccessDeniedException: D:\code\elasticsearch\distribution\integ-test-zip\build\cluster\integTestCluster node0\elasticsearch-7.0.0-alpha1-SNAPSHOT


Caused by: org.gradle.api.file.UnableToDeleteFileException: Unable to delete directory: D:\code\elasticsearch\distribution\zip\build\cluster\integTestCluster node0\elasticsearch-7.0.0-alpha1-SNAPSHOT\data\nodes\0

The errors are different but always related to this. My antivirus is disabled.

I'm using Windows 10 and Java 1.8.0_66. Any idea of what's going on?

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.