GerritServer: Configure direct email executor

This feature was added in e75830ed9, but that change only set the
configuration option for InMemoryModule. Acceptance tests generally
use GerritServer, so set the option there as well.

Change-Id: I5eedf53a2b99739ab5c2254ec22fc1998e50aa87
This commit is contained in:
Dave Borowitz
2015-05-05 10:19:42 -07:00
parent 5a5062f78e
commit 74b919a6c9

View File

@@ -190,7 +190,8 @@ public class GerritServer {
cfg.setBoolean("sshd", null, "testUseInsecureRandom", true);
cfg.setString("cache", null, "directory", null);
cfg.setString("gerrit", null, "basePath", "git");
cfg.setBoolean("sendemail", null, "enable", false);
cfg.setBoolean("sendemail", null, "enable", true);
cfg.setInt("sendemail", null, "threadPoolSize", 0);
cfg.setInt("cache", "projects", "checkFrequency", 0);
cfg.setInt("plugins", null, "checkFrequency", 0);