AbstractDaemonTest: Increase change update threadpool size

Otherwise all the multithreading code in ReceiveCommits doesn't
actually get any test coverage.

Change-Id: I6c18f512c8e1d8eef243712d56d916cb0012abec
This commit is contained in:
Dave Borowitz
2016-06-13 14:17:25 -04:00
parent 70d5109ae5
commit 3f528fd78c

View File

@@ -286,6 +286,7 @@ public abstract class AbstractDaemonTest {
baseConfig.setString("gerrit", null, "tempSiteDir",
tempSiteDir.getRoot().getPath());
baseConfig.setInt("receive", null, "changeUpdateThreads", 4);
if (classDesc.equals(methodDesc)) {
if (commonServer == null) {
commonServer = GerritServer.start(classDesc, baseConfig);