From b355fc7b76a3e4949e25d7974c945d20545678fa Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Mon, 21 Feb 2022 08:33:44 -0600 Subject: SONAR-16047 Don't start MyBatis in every test --- .../main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/sonar-ce') 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 ed0329121e5..7a83f3db85b 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 @@ -83,6 +83,7 @@ import org.sonar.db.DaoModule; import org.sonar.db.DbClient; import org.sonar.db.DefaultDatabase; import org.sonar.db.MyBatis; +import org.sonar.db.StartMyBatis; import org.sonar.db.audit.NoOpAuditPersister; import org.sonar.db.purge.PurgeProfiler; import org.sonar.process.NetworkUtilsImpl; @@ -283,6 +284,7 @@ public class ComputeEngineContainerImpl implements ComputeEngineContainer { LogbackHelper.class, DefaultDatabase.class, MyBatis.class, + StartMyBatis.class, PurgeProfiler.class, ServerFileSystemImpl.class, new TempFolderProvider(), -- cgit v1.2.3