From ccde391eea15c4e3661031778c8725c145845e48 Mon Sep 17 00:00:00 2001 From: Julien HENRY <julien.henry@sonarsource.com> Date: Fri, 30 Jun 2017 15:06:49 +0200 Subject: SONAR-9478 Missing Settings -> Configuration replacement --- .../plugins/security-plugin/src/test/java/FakeAuthenticatorTest.java | 2 +- .../test/java/org/sonarqube/tests/performance/scanner/MemoryTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/plugins/security-plugin/src/test/java/FakeAuthenticatorTest.java b/tests/plugins/security-plugin/src/test/java/FakeAuthenticatorTest.java index e55aacb9478..37f5fc038ad 100644 --- a/tests/plugins/security-plugin/src/test/java/FakeAuthenticatorTest.java +++ b/tests/plugins/security-plugin/src/test/java/FakeAuthenticatorTest.java @@ -20,7 +20,7 @@ import java.util.Map; import org.junit.Before; import org.junit.Test; -import org.sonar.api.config.MapSettings; +import org.sonar.api.config.internal.MapSettings; import org.sonar.api.config.Settings; import org.sonar.api.security.UserDetails; 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 877c3a32f09..837d42ebd67 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()), 6190L); + perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 6740L); // Second execution with a property on server side orchestrator.getServer().newHttpCall("/api/settings/set") @@ -100,7 +100,7 @@ public class MemoryTest extends AbstractPerfTest { .setParam("component", "big-module-tree") .execute(); result = orchestrator.executeBuild(scanner); - perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 6120L); + perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 6720L); } private void prepareModule(File parentDir, String moduleName, int depth) throws IOException { -- cgit v1.2.3