diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2017-12-07 11:54:37 +0100 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2017-12-07 15:28:02 +0100 |
commit | 181170cd55d3f0bd930e895cc0871c20643ac91a (patch) | |
tree | 36c966e12ae975db9e57245ff7df767105562ee7 /tests | |
parent | cb662321dd388237e5095992ddb81a8160bc3d32 (diff) | |
download | sonarqube-181170cd55d3f0bd930e895cc0871c20643ac91a.tar.gz sonarqube-181170cd55d3f0bd930e895cc0871c20643ac91a.zip |
SONAR-10168 Log downloading of plugins in debug
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/test/java/org/sonarqube/tests/analysis/ScannerTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/src/test/java/org/sonarqube/tests/analysis/ScannerTest.java b/tests/src/test/java/org/sonarqube/tests/analysis/ScannerTest.java index 15b20555741..cd47342301b 100644 --- a/tests/src/test/java/org/sonarqube/tests/analysis/ScannerTest.java +++ b/tests/src/test/java/org/sonarqube/tests/analysis/ScannerTest.java @@ -254,13 +254,12 @@ public class ScannerTest { int cachedFiles = FileUtils.listFiles(cache, new String[]{"jar"}, true).size(); assertThat(cachedFiles).isGreaterThan(5); assertThat(result.getLogs()).contains("User cache: " + cache.getAbsolutePath()); - assertThat(result.getLogs()).contains("Download sonar-xoo-plugin-"); result = scan("shared/xoo-sample", "sonar.userHome", userHome.getAbsolutePath()); - assertThat(cachedFiles).isEqualTo(cachedFiles); + int cachedFiles2 = FileUtils.listFiles(cache, new String[]{"jar"}, true).size(); + assertThat(cachedFiles).isEqualTo(cachedFiles2); assertThat(result.getLogs()).contains("User cache: " + cache.getAbsolutePath()); - assertThat(result.getLogs()).doesNotContain("Download sonar-xoo-plugin-"); } @Test |