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

JUnit-friendly replacement for MultipleCacheManagerTest

    Details

      Description

      Core tests that need one more more cache managers extend either SingleCacheManagerTest or MultipleCacheManagersTest. Many other modules' tests do the same for convenience.

      We would like to eventually move all modules to JUnit, and having an alternative to MCMT that can be used from either JUnit or TestNG and can support an incremental migration is the first step.

      The starting plan is for a TestCluster class for building and interacting with clusters including features from MCMT/TestingUtil/TestCacheManagerFactory/BasePartitionHandlingTest.

      Assertions like assertLocked()assertIsInL1() etc. would be in separate classes, ideally with AssertJ-like assertThat static methods.

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dan.berindei Dan Berindei
                Reporter:
                dan.berindei Dan Berindei
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: