FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: improve cleanup to prevent RESOURCE_EXHAUSTED error by larkee · Pull Request #195 · googleapis/python-spanner · GitHub

This repository was archived by the owner on Jun 8, 2026. It is now read-only.
/ python-spanner Public archive

test: improve cleanup to prevent RESOURCE_EXHAUSTED error - #195

Merged
larkee merged 4 commits into
googleapis:masterfrom
larkee:deflake-system-tests
Dec 17, 2020
Merged

larkee merged 4 commits into
googleapis:masterfrom
larkee:deflake-system-tests

Conversation

larkee commented Dec 16, 2020

Copy link
Copy Markdown
Contributor

Currently, there is no guarantee that the resources created during the system tests are cleaned up as the jobs running the tests can be cancelled before finishing. This means that over time the testing project runs out of resources due to undeleted instances which causes all system tests runs to fail.

This PR adds labels to the instance created for the test so that any instance created for a test that is older than an hour can be identified and deleted. This will keep the testing project from running out of resources over time.

product-auto-label Bot added the api: spanner Issues related to the googleapis/python-spanner API. label Dec 16, 2020
google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Dec 16, 2020
larkee added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 16, 2020
yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 16, 2020
larkee added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 16, 2020
yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 16, 2020
larkee marked this pull request as ready for review December 16, 2020 02:48
larkee requested review from a team and IlyaFaer December 16, 2020 02:48

IlyaFaer left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks okay to me. Thanks!

larkee merged commit 2b74f9c into googleapis:master Dec 17, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/python-spanner API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL