]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-10658 Prevent Scanner Context from being too big (fix merge issue)
authorJulien HENRY <julien.henry@sonarsource.com>
Wed, 23 May 2018 07:50:37 +0000 (09:50 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Fri, 25 May 2018 08:13:43 +0000 (10:13 +0200)
sonar-scanner-engine/src/test/java/org/sonar/scanner/report/AnalysisContextReportPublisherTest.java

index c95a5a4e59c3d9e7f5d180511910da43ce8cabdb..72acc4a99f6ac98b9ef237b7a1ef454411654a01 100644 (file)
@@ -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");