apache / apache/beam

Integration tests are run under the test task

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

Description

As found in [https://github.com/apache/beam/pull/13308](https://github.com/apache/beam/pull/13308) the [https://github.com/apache/beam/blob/40f517f9da8b2f0914f06493f8e042eeb2739578/sdks/java/extensions/ml/build.gradle#L47-L49](https://github.com/apache/beam/blob/40f517f9da8b2f0914f06493f8e042eeb2739578/sdks/java/extensions/ml/build.gradle#L47-L49) explicitly includes the integration tests in the test task.

As a consequence it is now impossible to run the tests without a google GCP account as the build will fail over missing account information.

 

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

Contributor guide

Open the contributing guide

Research direction

Start with sdks/java/extensions/ml/build.gradle around lines 47-49 and inspect how the integration tests are included in the test task. Run the relevant Gradle test task to reproduce the missing GCP account failure. Done means ordinary tests no longer require GCP credentials, while integration tests remain separately runnable.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.