infinispan/infinispan — pull request #2259 by anistor (2013-12-04 13:48:10+00:00)
Title: ISPN-3767 MassIndexer breaks search feature with one node cluster

* Add DegeneratedClusterMassIndexingTest to show that mass indexing does not guarantee all work is fully flushed when MassIndexer.start() returns
* Add BatchBackend flushing to ensure all indexing work is flushed for all indexes

Please integrate in master.

Jira: https://issues.jboss.org/browse/ISPN-3767