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

Ryan Emerson (JIRA) issues at jboss.org
Wed Jan 25 10:14:00 EST 2017


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

Ryan Emerson updated ISPN-7397:
-------------------------------
    Description: 
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. -

  was:
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. 



> 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
>
> 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. -



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


More information about the infinispan-issues mailing list