aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ce
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2019-01-17 16:03:25 +0100
committerSonarTech <sonartech@sonarsource.com>2019-01-17 20:21:00 +0100
commitb5cc29188339a2bf7187de25be38853553a81482 (patch)
tree53d8a0c81a324ae2da694f7e71fa06179f4c33fe /server/sonar-ce
parent51578709a9f2168f6774de9da88ad5975b9455fd (diff)
downloadsonarqube-b5cc29188339a2bf7187de25be38853553a81482.tar.gz
sonarqube-b5cc29188339a2bf7187de25be38853553a81482.zip
SONAR-11632 Remove api/tests WS
- Drop api/tests WS - Drop persistance of tests and coverage details from compute engine - Drop tests and coverage details from scanner report
Diffstat (limited to 'server/sonar-ce')
-rw-r--r--server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java4
-rw-r--r--server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java2
2 files changed, 1 insertions, 5 deletions
diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java b/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java
index c93b3031db7..96757cc6f29 100644
--- a/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java
+++ b/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java
@@ -149,7 +149,6 @@ import org.sonar.server.rule.index.RuleIndexer;
import org.sonar.server.setting.DatabaseSettingLoader;
import org.sonar.server.setting.DatabaseSettingsEnabler;
import org.sonar.server.setting.ThreadLocalSettings;
-import org.sonar.server.test.index.TestIndexer;
import org.sonar.server.user.index.UserIndex;
import org.sonar.server.user.index.UserIndexer;
import org.sonar.server.util.OkHttpClientProvider;
@@ -425,9 +424,6 @@ public class ComputeEngineContainerImpl implements ComputeEngineContainer {
EmailNotificationChannel.class,
ReportAnalysisFailureNotificationModule.class,
- // Tests
- TestIndexer.class,
-
// System
ServerLogging.class,
diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java b/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java
index 2f63230ad85..f50a10319f5 100644
--- a/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java
+++ b/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java
@@ -97,7 +97,7 @@ public class ComputeEngineContainerImplTest {
assertThat(picoContainer.getComponentAdapters())
.hasSize(
CONTAINER_ITSELF
- + 70 // level 4
+ + 69 // level 4
+ 6 // content of CeConfigurationModule
+ 4 // content of CeQueueModule
+ 3 // content of CeHttpModule