Stephan Ewen created FLINK-2520:
-----------------------------------
Summary: StreamFaultToleranceTestBase does not allow for multiple
tests
Key: FLINK-2520
URL: https://issues.apache.org/jira/browse/FLINK-2520
Project: Flink
Issue Type: Improvement
Components: Tests
Affects Versions: 0.10
Reporter: Stephan Ewen
Priority: Minor
It would be good to implement more tests into the same class (or user at least
the same driver class), in order to re-use mini clusters and reducer overall
test times.
The {{StreamFaultToleranceTestBase}} does not support that.
I think the pattern where the {{@Test}} methods are in a base class, and the
actual tests only implement hook methods is not a good pattern.
The batch API tests used this initially and we abandoned it everywhere for a
more flexible implementation where the base class only sets up the.
cluster/environment and the {{@Test}} methods go int the subclass.
The {{MultipleProgramsTestBase}} is a good example of a flexible test base.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)