in src/main/java/org/apache/sling/launchpad/testservices/repository/FirstRepositoryInitializer.java [45:58]
public void processRepository(SlingRepository repo) throws Exception {
final Session s = repo.loginAdministrative(null);
try {
if(s.itemExists(SIGNAL_NODE_PATH)) {
log.warn("{} already exists, these tests expect to run on an empty repository", SIGNAL_NODE_PATH);
} else {
s.getRootNode().addNode(SIGNAL_NODE_PATH.substring(1));
log.info("{} created", SIGNAL_NODE_PATH);
s.save();
}
} finally {
s.logout();
}
}