diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2018-05-23 09:50:37 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2018-05-25 10:13:43 +0200 |
commit | 0869cccd45ec6dee73e1bb319a8aacee62e5d67a (patch) | |
tree | 01a884326768671f3ec11e3d54c10d4144cab7ac | |
parent | dc7088ecb1cea8b9d308f413cc651fd265cefd13 (diff) | |
download | sonarqube-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.java | 2 |
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"); |