...
- Migrate examples-module.
- Add dependencies to parent/pom.xml
- Change adding suites to IgniteExamplesSelfTestSuite. Pay more attention for this point, because @RunWith(JUnitPlatform.class) construction can provide not fully support of all features .
- Launch IgniteExamplesMLTestSuite separately under JUnit4, because it is impossible to override JUnitPlatform constructor as well as Suite constructor
- Change annotations and imports in test classes
- Ignore commented tests
- Migrate core module in the same way as examples. Classes with dynamic tests do not need to be changed. This is due to the fact that in JUnit5 it is not possible to launch static and dynamic tests under one surefire version.
Positive side: the dynamic tests amount is not so big, they locate in specific places. The all JUnit5 opportunity can not be used in dynamic tests (@TestFactory).
According to the previous points, the next should be added:- Remove test timeouts and add timeouts via annotations
- Replace exception checking according to JUnit5 style
- Replace some tests on parameterized where it is necessary (the same tests are used with different parameters)
- Migrate modules where JUnit tests exist. Check list:
- aop
- aws
- camel
- cassandra
- clients
- cloud
- comatibility
- compress
- direct-io
- flink
- flume
- gce
- geospastial
- hadoop
- hibernate 4.2, 5.1, 5.3, core
- ignored
- indexing
- jcl
- jta
- kafka
- kubernates
- log4j
- log4j2
- ml
- mqtt
- osgi
- rest-htpp
- rocketmql
- schedule
- slf4j
- spark
- spring, spring-data, 2.0
- ssh
- storm
- tensorflow
- twitter
- urldeploy
- web-console
- yarn
- zeromq
- zookeeper
...
- Replace tearDown, setUp by @BeforeEach, @AfterEach annotations, where it is necessary
- The same situation with beforeTest, afterTest methods
- Replace beforeTestsStarted, afterTestsStopped by @BeforeAll, @AfterAll
- The rest methods move to GridAbstractTest.
- GridAbstractTest and GridCommonAbstractTest refactoring. Check ability to turn some instance
methods to static methods.
Risks and Assumptions
- Additional fails on TC because of migration issues
- Performance degradation of tests execution.
...
{"serverDuration": 143, "requestCorrelationId": "57c4d1537ca79567"}