[
https://issues.jboss.org/browse/ISPN-1075?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-1075:
----------------------------------------
This has introduced the following regressions:
testDefiningConfigurationOverridingConsistentHashClass(org.infinispan.config.ProgrammaticConfigurationTest)
testDefiningConfigurationValidation(org.infinispan.manager.CacheManagerTest)
testDefiningConfigurationWithTemplateName(org.infinispan.manager.CacheManagerTest)
This is important because the configurations defined for a different named cache are no
longer consider equal to the original ones.
It's certainly debatable whether Configurations for different caches should be
considered equals if the only thing different is the name.
Configuration.getName does not work for programmatically defined
caches
-----------------------------------------------------------------------
Key: ISPN-1075
URL:
https://issues.jboss.org/browse/ISPN-1075
Project: Infinispan
Issue Type: Feature Request
Components: Configuration
Affects Versions: 4.2.1.FINAL
Reporter: Mircea Markus
Assignee: Mircea Markus
Fix For: 4.2.2.BETA1, 4.2.2.FINAL
String aName = "aName";
Configuration configuration = cacheManager.defineConfiguration(aName,
configurationOverride);
Cache c = cacheManager.getCache(aName);
assertEquals(c.getConfiguration().getName(), aName); // this fails!!
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira