aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/plugins/security-plugin/src/test/java/FakeAuthenticatorTest.java2
-rw-r--r--tests/src/test/java/org/sonarqube/tests/performance/scanner/MemoryTest.java4
2 files changed, 3 insertions, 3 deletions
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 {