infinispan/infinispan — pull request #2657 by danberindei (2014-06-18 16:08:24+00:00)
Title: ISPN-3840 Test suite should continue when a test hasn't closed its cache managers

.https://issues.jboss.org/browse/ISPN-3840

Add fail-all-tests and fail-all-tests-setup profile to fail all the tests
and @Before methods and check that their cache managers are closed properly.

Initially I intended to keep logging the managers not shut down by the tests, but it turns out SingleCacheManagerTest-derived tests too often leak managers because the createCacheManager implementation fails after creating the manager (and without returning it).