aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home/src/test
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2016-03-15 14:58:03 +0100
committerDuarte Meneses <duarte.meneses@sonarsource.com>2016-03-16 14:16:03 +0100
commita280429889a21f2f258041caa42264570017c31a (patch)
tree94fe06e6ddce06d238efa26b3b493e8b7a8f6969 /sonar-home/src/test
parent712c66d95af8076fe3b4efd7392a61672dc7b656 (diff)
downloadsonarqube-a280429889a21f2f258041caa42264570017c31a.tar.gz
sonarqube-a280429889a21f2f258041caa42264570017c31a.zip
SONAR-7124 Concurrent access to WS cache allowed
Diffstat (limited to 'sonar-home/src/test')
-rw-r--r--sonar-home/src/test/java/org/sonar/home/cache/DirectoryLockTest.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/sonar-home/src/test/java/org/sonar/home/cache/DirectoryLockTest.java b/sonar-home/src/test/java/org/sonar/home/cache/DirectoryLockTest.java
index b6deb72da3e..088b7b1f2f8 100644
--- a/sonar-home/src/test/java/org/sonar/home/cache/DirectoryLockTest.java
+++ b/sonar-home/src/test/java/org/sonar/home/cache/DirectoryLockTest.java
@@ -50,7 +50,6 @@ public class DirectoryLockTest {
lock.lock();
assertThat(temp.getRoot().toPath().resolve(".sonar_lock")).exists();
lock.unlock();
- assertThat(temp.getRoot().list()).isEmpty();
}
@Test
@@ -59,7 +58,6 @@ public class DirectoryLockTest {
lock.tryLock();
assertThat(temp.getRoot().toPath().resolve(".sonar_lock")).exists();
lock.unlock();
- assertThat(temp.getRoot().list()).isEmpty();
}
@Test(expected = OverlappingFileLockException.class)