Acceptance tests: Write logs to junit tempdir
Pass the site path to the daemon so that it is available when the error log file gets initialized. Bug: Issue 4677 Change-Id: I0b88290c4b277f56a1277b52a08f04feb6eb56b5 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -47,6 +47,7 @@ import java.lang.reflect.Field;
|
||||
import java.net.InetAddress;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.URI;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.concurrent.BrokenBarrierException;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.CyclicBarrier;
|
||||
@@ -129,7 +130,7 @@ public class GerritServer {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
});
|
||||
}, Paths.get(baseConfig.getString("gerrit", null, "tempSiteDir")));
|
||||
daemon.setEmailModuleForTesting(new FakeEmailSender.Module());
|
||||
|
||||
final File site;
|
||||
|
||||
Reference in New Issue
Block a user