summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2017-11-13 13:33:53 +0100
committerEric Hartmann <hartmann.eric@gmail.Com>2017-11-14 13:10:17 +0100
commit0369e48456a4ad3c238a9ad0b8980f77ed36e612 (patch)
tree63ea3adb6fad92e454650b04c4bea6eade1977d9 /tests
parentd9c39ef73d5df4b6a868fbc4802b142fc3a256c4 (diff)
downloadsonarqube-0369e48456a4ad3c238a9ad0b8980f77ed36e612.tar.gz
sonarqube-0369e48456a4ad3c238a9ad0b8980f77ed36e612.zip
Update timings for BootstrappingTest
Diffstat (limited to 'tests')
-rw-r--r--tests/src/test/java/org/sonarqube/tests/performance/scanner/BootstrappingTest.java9
1 files 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 {