/** * Test method for {@link * org.kuali.ole.docstore.service.DocumentIndexer#rollbackIndexedData(java.util.List)}. */ public final void testRollbackIndexedData() { try { documentIndexer.indexDocuments(reqDocuments); } catch (Exception e) { try { documentIndexer.rollbackIndexedData(reqDocuments); } catch (Exception ex) { LOG.info(e.getMessage(), e); fail("Failed in rolling back of indexing : " + ex); } } }
/** Method to testIndexDocumentsForBulk */ public final void testIndexDocumentsForBulk() { try { documentIndexer.indexDocumentsForBulk(reqDocuments, true); } catch (Exception e) { LOG.info(e.getMessage(), e); fail("Failed in indexing : " + e); } }