public class CompatModeQueryDslConditionsTest extends QueryDslConditionsTest {
@Override
protected EmbeddedCacheManager createCacheManager() throws Exception {
ConfigurationBuilder cfg = getDefaultStandaloneCacheConfig(true);
cfg.compatibility().enable()
.transaction().transactionMode(TransactionMode.TRANSACTIONAL)
.indexing().index(Index.ALL)
.addProperty("default.directory_provider", "ram")
.addProperty("lucene_version", "LUCENE_CURRENT");
return TestCacheManagerFactory.createCacheManager(cfg);