[infinispan-issues] [JBoss JIRA] (ISPN-1623) Wrong configuration overrides behavior with the new configuration mechanism
Pete Muir (Commented) (JIRA)
jira-events at lists.jboss.org
Mon Dec 19 11:08:09 EST 2011
[ https://issues.jboss.org/browse/ISPN-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652023#comment-12652023 ]
Pete Muir commented on ISPN-1623:
---------------------------------
The default behavior now no longer reads the default cache, but instead just uses the real defaults. If you want to use the old behavior, you need to read the default configuration in:
{code}
Configuration defaultConfiguration = new ConfigurationBuilder()
.eviction().maxEntries(200).strategy(EvictionStrategy.FIFO)
.build();
Configuration cacheConfiguration = new ConfigurationBuilder().read(defaultConfiguration).build();
{code}
I've altered the test do this.
> Wrong configuration overrides behavior with the new configuration mechanism
> ---------------------------------------------------------------------------
>
> Key: ISPN-1623
> URL: https://issues.jboss.org/browse/ISPN-1623
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 5.1.0.CR1
> Reporter: Kevin Pollet
> Assignee: Pete Muir
> Priority: Blocker
> Fix For: 5.1.0.CR2
>
>
> My test case is the following https://gist.github.com/00886650bc6159215c69
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list