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

JUnit-friendly replacement for MultipleCacheManagerTest

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 11.0.0.Final
    • Core, Test Suite
    • None

      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.

       

              Unassigned Unassigned
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: