[jira] [Created] (FLINK-8937) Refactor flink end-to-end test skeleton

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-8937) Refactor flink end-to-end test skeleton

Shang Yuanchun (Jira)
Florian Schmidt created FLINK-8937:
--------------------------------------

             Summary: Refactor flink end-to-end test skeleton
                 Key: FLINK-8937
                 URL: https://issues.apache.org/jira/browse/FLINK-8937
             Project: Flink
          Issue Type: Improvement
          Components: Tests
            Reporter: Florian Schmidt
            Assignee: Florian Schmidt


I was thinking about refactoring the end-to-end tests skeleton. The following ideas came to mind:

- Allow each individual test script to specify some setup and cleanup method that gets executed before and after each test, especially also if that test fails and the EXIT trap is triggered
- Refactor adding a new test script into a function that provides uniform error handling
- Add helper methods for common tasks like waiting for a pattern to appear in some log file (e.g. to ensure that a task is running)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)