}
verifyFile(count * processes);
}
private static void writer(final boolean lock, final int count, final String name) throws Exception {
final Layout layout = PatternLayout.createLayout(PatternLayout.SIMPLE_CONVERSION_PATTERN, null, null, null);
final FileAppender app = FileAppender.createAppender(FILENAME, "true", Boolean.toString(lock), "test", "false",
"false", "false", layout, null, "false", null, null);
final Thread t = Thread.currentThread();
app.start();
assertTrue("Appender did not start", app.isStarted());