apache / apache/beam

Tests which evaluate DisplayData but don't run a pipeline should be marked @NeedsRunner not @RunnableOnService

Open
#18,018 0 comments 0 reactions 0 assignees View on GitHub
bug core java P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
2d 2h
Merged PRs (30d)
205

Description

Tests which evaluate DisplayData but don't run a pipeline should be marked @NeedsRunner not @RunnableOnService

@RunnableOnService represents tests which actually execute a Pipeline while @NeedsRunner represents tests that need a runner to construct the pipeline.

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

Contributor guide

Open the contributing guide

Research direction

Search the Java tests for @RunnableOnService and @NeedsRunner, then inspect the matching tests that evaluate DisplayData without executing a pipeline. Confirm that each such test uses @NeedsRunner, and run the affected tests to verify the annotation changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.