diff options
Diffstat (limited to 'tests/src')
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/src/test/java/org/sonarqube/tests/performance/scanner/HighlightingTest.java b/tests/src/test/java/org/sonarqube/tests/performance/scanner/HighlightingTest.java index 3a8c34282e3..8942d9c0088 100644 --- a/tests/src/test/java/org/sonarqube/tests/performance/scanner/HighlightingTest.java +++ b/tests/src/test/java/org/sonarqube/tests/performance/scanner/HighlightingTest.java @@ -97,10 +97,10 @@ public class HighlightingTest extends AbstractPerfTest { BuildResult result = orchestrator.executeBuild(scanner); System.out.println("Total time: " + MavenLogs.extractTotalTime(result.getLogs())); - perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 25700L); + perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 28000L); Properties prof = readProfiling(baseDir, "highlighting"); - perfRule.assertDurationAround(Long.valueOf(prof.getProperty("Xoo Highlighting Sensor")), 9600L); + perfRule.assertDurationAround(Long.valueOf(prof.getProperty("Xoo Highlighting Sensor")), 10000L); } } diff --git a/tests/src/test/java/org/sonarqube/tests/performance/scanner/IssuesModeTest.java b/tests/src/test/java/org/sonarqube/tests/performance/scanner/IssuesModeTest.java index 56637bb5e0d..b4eaaffcfb2 100644 --- a/tests/src/test/java/org/sonarqube/tests/performance/scanner/IssuesModeTest.java +++ b/tests/src/test/java/org/sonarqube/tests/performance/scanner/IssuesModeTest.java @@ -67,6 +67,6 @@ public class IssuesModeTest extends AbstractPerfTest { long duration = System.currentTimeMillis() - start; System.out.println("Issues analysis: " + duration + "ms"); - perfRule.assertDurationAround(duration, 4300L); + perfRule.assertDurationAround(duration, 4650L); } } diff --git a/tests/src/test/java/org/sonarqube/tests/performance/scanner/MemoryTest.java b/tests/src/test/java/org/sonarqube/tests/performance/scanner/MemoryTest.java index 14a768bb8ef..1ddf3b9bbac 100644 --- a/tests/src/test/java/org/sonarqube/tests/performance/scanner/MemoryTest.java +++ b/tests/src/test/java/org/sonarqube/tests/performance/scanner/MemoryTest.java @@ -89,7 +89,7 @@ public class MemoryTest extends AbstractPerfTest { .setProjectDir(baseDir); BuildResult result = orchestrator.executeBuild(scanner); - perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 8250); + perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 8950); // Second execution with a property on server side orchestrator.getServer().newHttpCall("/api/settings/set") diff --git a/tests/src/test/java/org/sonarqube/tests/performance/server/ComputeEnginePerfTest.java b/tests/src/test/java/org/sonarqube/tests/performance/server/ComputeEnginePerfTest.java index e6376641a37..5ee6f4e515e 100644 --- a/tests/src/test/java/org/sonarqube/tests/performance/server/ComputeEnginePerfTest.java +++ b/tests/src/test/java/org/sonarqube/tests/performance/server/ComputeEnginePerfTest.java @@ -75,7 +75,7 @@ public class ComputeEnginePerfTest extends AbstractPerfTest { orchestrator.executeBuild(scanner); - assertComputationDurationAround(350_000L); + assertComputationDurationAround(378_000L); } private void assertComputationDurationAround(long expectedDuration) throws IOException { |