apache / apache/beam

Python PostCommits produce too many spanner databases

Open
#21,192 0 comments 0 reactions 0 assignees View on GitHub
bug P3 tests
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

There are ~30 Python PostCommit tests that create and destroy a Spanner Database. Each running across 3 PostCommits. We should reduce the number of tests that do this.

A couple of avenues:
1. Only run Spanner ITs in one Python version's PostCommit.
2. Verify more logic in spannerio_test.py (as opposed to `spannerio_\*_it_test.py`), which uses a mock rather than prod Spanner. We can still have a few ITs, but we don't need to verify *everything* there.

Imported from Jira [BEAM-13373](https://issues.apache.org/jira/browse/BEAM-13373). Original Jira may contain additional context.
Reported by: bhulette.
This issue has child subcomponents which were not migrated over. See the original Jira for more information.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.