apache / apache/beam

Support Verifiers in TestFlinkRunner

Open
#18,035 0 comments 0 reactions 0 assignees View on GitHub
flink improvement P3 runners
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
2d 2h
Merged PRs (30d)
205

Description

[~jasonkuster] suggested that we should support verifiers to better support E2E tests.

See https://github.com/apache/incubator-beam/blob/master/examples/java/src/test/java/org/apache/beam/examples/WordCountIT.java for an example of how they're used and https://github.com/apache/incubator-beam/blob/master/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/testing/TestDataflowRunner.java for how they are implemented in the TestDataflowRunner.

Imported from Jira [BEAM-581](https://issues.apache.org/jira/browse/BEAM-581). Original Jira may contain additional context.
Reported by: aljoscha.

Contributor guide

Open the contributing guide

Research direction

Start by reading examples/java/src/test/java/org/apache/beam/examples/WordCountIT.java to see how verifiers are used, then compare their implementation in runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/testing/TestDataflowRunner.java. Inspect TestFlinkRunner and add equivalent verifier support for end-to-end tests; done means the WordCountIT-style usage works with the Flink test runner.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.