[
https://issues.apache.org/jira/browse/BEAM-11404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548962#comment-17548962
]
Danny McCormick commented on BEAM-11404:
----------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/20572
> Consider running :test precommits in a hermetic environment
> -----------------------------------------------------------
>
> Key: BEAM-11404
> URL: https://issues.apache.org/jira/browse/BEAM-11404
> Project: Beam
> Issue Type: Task
> Components: testing
> Reporter: Brian Hulette
> Priority: P3
>
> :test tasks should generally just run unit tests or fast running tests that
> use an in-memory (or containerized) fake, but it can be tempting to write
> simple tests that leverage production cloud services, and not classify them
> as integration tests (e.g. BEAM-11363). We should have some automation to
> protect against this - we can run :test tasks in a hermetic environment in
> precommits.
> One possible approach: use a docker container with networking disable (maybe
> re-use the Beam developer container BEAM-10891)
--
This message was sent by Atlassian Jira
(v8.20.7#820007)