aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2018-05-23 09:50:37 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2018-05-25 10:13:43 +0200
commit0869cccd45ec6dee73e1bb319a8aacee62e5d67a (patch)
tree01a884326768671f3ec11e3d54c10d4144cab7ac
parentdc7088ecb1cea8b9d308f413cc651fd265cefd13 (diff)
downloadsonarqube-0869cccd45ec6dee73e1bb319a8aacee62e5d67a.tar.gz
sonarqube-0869cccd45ec6dee73e1bb319a8aacee62e5d67a.zip
SONAR-10658 Prevent Scanner Context from being too big (fix merge issue)
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/report/AnalysisContextReportPublisherTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/report/AnalysisContextReportPublisherTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/report/AnalysisContextReportPublisherTest.java
index c95a5a4e59c..72acc4a99f6 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/report/AnalysisContextReportPublisherTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/report/AnalysisContextReportPublisherTest.java
@@ -228,7 +228,7 @@ public class AnalysisContextReportPublisherTest {
.setProperty("sonar.projectBaseDir", baseDir.toString())
.setProperty("sonar.aVeryLongProp", StringUtils.repeat("abcde", 1000))));
- assertThat(FileUtils.readFileToString(writer.getFileStructure().analysisLog(), StandardCharsets.UTF_8)).containsSubsequence(
+ assertThat(FileUtils.readFileToString(writer.getFileStructure().analysisLog(), StandardCharsets.UTF_8)).containsSequence(
"sonar.aVeryLongProp=" + StringUtils.repeat("abcde", 199) + "ab...",
"sonar.projectBaseDir=" + baseDir.toString(),
"sonar.projectKey=foo");