[infinispan-issues] [JBoss JIRA] (ISPN-7397) Replace use of shared SingleFileStore with DummyInMemoryStore

Dan Berindei (JIRA) issues at jboss.org
Thu Jan 26 08:59:00 EST 2017


     [ https://issues.jboss.org/browse/ISPN-7397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-7397:
-------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 9.0.0.CR1
       Resolution: Done


> Replace use of shared SingleFileStore with DummyInMemoryStore
> -------------------------------------------------------------
>
>                 Key: ISPN-7397
>                 URL: https://issues.jboss.org/browse/ISPN-7397
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Core
>    Affects Versions: 9.0.0.Beta2
>            Reporter: Ryan Emerson
>            Assignee: Ryan Emerson
>             Fix For: 9.0.0.CR1
>
>
> ISPN-7286 introduced the @Store annotation, which prevents non-shareable stores from being configured as shareable. The SingleFileStore is a non-shareable store, however its exploited by certain tests with its shared configuration set to true. With the introduction of @Store, the aforementioned tests now fail with an error stating that the SingleFileStore cannot be shared. 
> -Therefore, it is necessary to create a SharedSingleFileStore solely for testing purposes which simply wraps the SingleFileStore and associated configurations, so that the existing tests which rely on a shared SingleFileStore do not fail. -
> The DummyInMemoryStore should be used instead.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list