Disable sending emails during acceptance tests
This prevents the test suite from spamming the local SMTP server by trying to send messages to example.com. Change-Id: I24274596c36564489b5f2f0b1621d32bec333ded
This commit is contained in:
@@ -100,6 +100,7 @@ class GerritServer {
|
||||
cfg.setString("httpd", null, "listenUrl", url);
|
||||
cfg.setString("sshd", null, "listenAddress", format(sshd));
|
||||
cfg.setString("cache", null, "directory", null);
|
||||
cfg.setBoolean("sendemail", null, "enable", false);
|
||||
cfg.setInt("cache", "projects", "checkFrequency", 0);
|
||||
cfg.setInt("plugins", null, "checkFrequency", 0);
|
||||
cfg.save();
|
||||
|
Reference in New Issue
Block a user