Dan Berindei created ISPN-12037:
-----------------------------------
Summary: JUnit-friendly replacement for MultipleCacheManagerTest
Key: ISPN-12037
URL:
https://issues.redhat.com/browse/ISPN-12037
Project: Infinispan
Issue Type: Task
Components: Core, Test Suite
Affects Versions: 11.0.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 12.0.0.Final
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.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)