Viacheslav Blinov created IGNITE-26123:
------------------------------------------
Summary: Create a JUnit extension to setup cluster in integration
tests
Key: IGNITE-26123
URL: https://issues.apache.org/jira/browse/IGNITE-26123
Project: Ignite
Issue Type: Improvement
Reporter: Viacheslav Blinov
Assignee: Viacheslav Blinov
Currently we have two classes: ClusterPerClassIntegrationTest and
ClusterPerTestIntegrationTest, and you have to extend either of them to get a
functionality of providing a cluster in your test. This doesn't allow us to be
flexible about the configuration of the cluster, for example run test X times
with different cluster configuration. To do that we could create a Junit
extension which will
1. Initialize the cluster on per-class or pet-test basis, depending on where
you inject the cluster in your test
2. Define the cluster configuration as an annotation
3. Add possibility to provide a set of cluster configurations and run test for
each of those configurations, similarly to the way ParameterizedTest works in
junit
--
This message was sent by Atlassian Jira
(v8.20.10#820010)