Revision 7610
Added by Jing Tao over 11 years ago
metacat-index/src/test/java/edu/ucsb/nceas/metacat/index/IndexGeneratorIT.java | ||
---|---|---|
35 | 35 |
public void testGenerateAll() throws Exception { |
36 | 36 |
SolrIndex solrIndex = generateSolrIndex(); |
37 | 37 |
SystemMetadataEventListener systeMetaListener = new SystemMetadataEventListener(solrIndex); |
38 |
systeMetaListener.start(); |
|
38 | 39 |
IndexGenerator generator = new IndexGenerator(solrIndex, systeMetaListener); |
39 | 40 |
generator.indexAll(); |
40 | 41 |
String result = SolrIndexIT.doQuery(solrIndex.getSolrServer()); |
42 |
systeMetaListener.stop(); |
|
41 | 43 |
} |
42 | 44 |
|
43 | 45 |
private SolrIndex generateSolrIndex() throws Exception { |
Also available in: Unified diff
Add code to start hazelcast.