[ https://issues.apache.org/jira/browse/FLINK-8937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16405343#comment-16405343 ]
Aljoscha Krettek commented on FLINK-8937: ----------------------------------------- That sounds good. Is that even possible, though, with registering methods and whatnot? It might be a good idea to scrap the current scripts and instead move to something like Python. Or Python. > 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 > Priority: Major > > 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)