use of org.neo4j.test.extension.ExtensionCallback in project neo4j by neo4j.
the class SchemaAcceptanceTest method configure.
@ExtensionCallback
void configure(TestDatabaseManagementServiceBuilder builder) {
Monitors monitors = new Monitors();
IndexingService.MonitorAdapter trappingMonitor = new IndexingService.MonitorAdapter() {
@Override
public void indexPopulationScanComplete() {
if (trapPopulation.get()) {
populationScanFinished.reached();
}
}
};
monitors.addMonitorListener(trappingMonitor);
builder.setMonitors(monitors);
}
Aggregations