aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home/src/test
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-06-24 09:44:40 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-06-24 14:34:21 +0200
commit3630f86f9aaa8edaf7b5ee84d1f858da5dd2b01b (patch)
tree94f33cdc095a75f68f558855a50abecbc60f3b89 /sonar-home/src/test
parentc4f18158c668a4640dac2d2e9fac15b9c3d1005e (diff)
downloadsonarqube-3630f86f9aaa8edaf7b5ee84d1f858da5dd2b01b.tar.gz
sonarqube-3630f86f9aaa8edaf7b5ee84d1f858da5dd2b01b.zip
Fix lock on windows
Diffstat (limited to 'sonar-home/src/test')
-rw-r--r--sonar-home/src/test/java/org/sonar/home/cache/PersistentCacheTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-home/src/test/java/org/sonar/home/cache/PersistentCacheTest.java b/sonar-home/src/test/java/org/sonar/home/cache/PersistentCacheTest.java
index 8f8596e0705..e9abb0bc609 100644
--- a/sonar-home/src/test/java/org/sonar/home/cache/PersistentCacheTest.java
+++ b/sonar-home/src/test/java/org/sonar/home/cache/PersistentCacheTest.java
@@ -103,7 +103,7 @@ public class PersistentCacheTest {
assertCacheHit(false);
File root = tmp.getRoot();
- FileUtils.deleteDirectory(root);
+ FileUtils.deleteQuietly(root);
// should re-create cache directory and start using the cache
cache.reconfigure(false);