Disable Gitweb for in-memory acceptance tests

When running any in-memory acceptance tests, if Gitweb is installed,
the tests were failing because the GitWebSerlvet initialization requires
gerrit.basePath.

Change-Id: Ia3286176c671f92366425f628a09a19caf90e23f
This commit is contained in:
Hugo Arès 2014-10-21 14:32:37 -04:00
parent c99289b27d
commit 679d192e9b

View File

@ -71,6 +71,7 @@ public class GerritServer {
cfg.setBoolean("httpd", null, "requestLog", false);
cfg.setBoolean("sshd", null, "requestLog", false);
cfg.setBoolean("index", "lucene", "testInmemory", true);
cfg.setString("gitweb", null, "cgi", "");
daemon.setEnableHttpd(enableHttpd);
daemon.setLuceneModule(new LuceneIndexModule(
ChangeSchemas.getLatest().getVersion(),