apache / apache/beam

validates-runner-tests not receiving all flags

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

Description

On a fresh install,

mvn install -Dtest=x -DfailIfNoTests=false

fails in Apache Beam :: Runners :: Direct Java with

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (validates-runner-tests) on project beam-runners-direct-java: No tests were executed! (Set -DfailIfNoTests=false to ignore this error.) -\> [Help 1]

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

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the Maven configuration for Apache Beam :: Runners :: Direct Java, especially the validates-runner-tests execution, then reproduce the reported mvn install command. Done means the test and failIfNoTests flags reach that execution so the fresh install no longer fails with the no-tests error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Bug
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.