From 0369e48456a4ad3c238a9ad0b8980f77ed36e612 Mon Sep 17 00:00:00 2001 From: Eric Hartmann Date: Mon, 13 Nov 2017 13:33:53 +0100 Subject: [PATCH] Update timings for BootstrappingTest --- .../tests/performance/scanner/BootstrappingTest.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/src/test/java/org/sonarqube/tests/performance/scanner/BootstrappingTest.java b/tests/src/test/java/org/sonarqube/tests/performance/scanner/BootstrappingTest.java index e998fd6f0b8..d8de2f52043 100644 --- a/tests/src/test/java/org/sonarqube/tests/performance/scanner/BootstrappingTest.java +++ b/tests/src/test/java/org/sonarqube/tests/performance/scanner/BootstrappingTest.java @@ -27,7 +27,6 @@ import java.io.IOException; import org.apache.commons.io.FileUtils; import org.junit.BeforeClass; import org.junit.ClassRule; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; @@ -79,11 +78,11 @@ public class BootstrappingTest extends AbstractPerfTest { BuildResult result = orchestrator.executeBuild(scanner); // First analysis - perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 22800L); + perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 7900L); result = orchestrator.executeBuild(scanner); // Second analysis is longer since we load project referential - perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 27200L); + perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 8400L); } private static File prepareProjectWithManyFlatModules(int SIZE) throws IOException { @@ -121,11 +120,11 @@ public class BootstrappingTest extends AbstractPerfTest { BuildResult result = orchestrator.executeBuild(scanner); // First analysis - perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 8900L); + perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 6300L); result = orchestrator.executeBuild(scanner); // Second analysis - perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 9300L); + perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 6300L); } private static File prepareProjectWithManyNestedModules(int SIZE) throws IOException { -- 2.39.5