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:
parent
c99289b27d
commit
679d192e9b
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user