private final String indexDirectory = TestingUtil.tmpDirectory(this.getClass());
@Override
protected EmbeddedCacheManager createCacheManager() throws Exception {
ConfigurationBuilder cfg = getDefaultStandaloneCacheConfig(true);
cfg.indexing().index(Index.ALL)
.addProperty("default.directory_provider", "filesystem")
.addProperty("default.indexBase", indexDirectory)
.addProperty("error_handler", "org.infinispan.query.helper.StaticTestingErrorHandler")
.addProperty("lucene_version", "LUCENE_CURRENT");
return TestCacheManagerFactory.createCacheManager(cfg);