Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7397

Replace use of shared SingleFileStore with DummyInMemoryStore

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 9.0.0.Beta2
    • 9.0.0.CR1
    • Test Suite
    • None

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

      The DummyInMemoryStore should be used instead.

      Attachments

        Activity

          People

            remerson@redhat.com Ryan Emerson
            remerson@redhat.com Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: