I was looking at a test recently that extended JUnit4CacheTestCase and only
used a single server, and changed it to use ClusterStartupRule.

JUnit4CacheTestCase adds additional complexity to JUnit4DistributedTestCase
and with the move to ClusterStartupRule for distributed tests, rather than
class inheritance, I think we should deprecate JUnit4CacheTestCase and
change the comment to imply that classes should inherit from it just
because they require a Cache.

Is is worth deprecating JUnit4DistributedTestCase as well and encouraging
the use of ClusterStartupRule instead?

Thanks,
Galen

Reply via email to