[
https://issues.apache.org/jira/browse/BEAM-11404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285993#comment-17285993
]
Beam JIRA Bot commented on BEAM-11404:
--------------------------------------
This issue was marked "stale-P2" and has not received a public comment in 14
days. It is now automatically moved to P3. If you are still affected by it, you
can comment and move it back to P2.
> 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.3.4#803005)