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

fix: delete stale instance with delay of 5 seconds by vi3k6i5 · Pull Request #194 · googleapis/python-spanner-sqlalchemy · GitHub

This repository was archived by the owner on May 14, 2026. It is now read-only.

fix: delete stale instance with delay of 5 seconds - #194

Merged
vi3k6i5 merged 2 commits into
googleapis:mainfrom
vi3k6i5:ft-instance-cleanup
Jan 27, 2022
Merged

fix: delete stale instance with delay of 5 seconds#194
vi3k6i5 merged 2 commits into
googleapis:mainfrom
vi3k6i5:ft-instance-cleanup

Conversation

vi3k6i5 commented Jan 18, 2022

Copy link
Copy Markdown
Contributor

Adding sleep of 5 seconds after instance delete call, this will ensure that if multiple instances need to be cleaned up then there is sufficient gap between successive api calls.

product-auto-label Bot added the api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API. label Jan 18, 2022

IlyaFaer left a comment
edited
Loading

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

LGTM
The error failing in your tests:

DeprecationWarning: '@pytest.fixture' is applied to <fixture Class._inject_setup_class_fixture.<locals>.xunit_setup_class_fixture, file=/home/runner/work/python-spanner-sqlalchemy/python-spanner-sqlalchemy/.nox/compliance_test/lib/python3.8/site-packages/_pytest/python.py, line=802> in 'legacy' mode, please replace it with '@pytest_asyncio.fixture' as a preparation for switching to 'strict' mode (or use 'auto' mode to seamlessly handle all these fixtures as asyncio-driven).

It's gonna be fixed by this PR: #191, I just need to process a couple of more errors there.

vi3k6i5 force-pushed the ft-instance-cleanup branch from cf3920a to 7a3c055 Compare January 18, 2022 07:51
IlyaFaer added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 27, 2022
yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 27, 2022

Copy link
Copy Markdown

A transient deadline error happened in snippets session. Rerunning the checks.

vi3k6i5 merged commit 2932a02 into googleapis:main Jan 27, 2022
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-sqlalchemy API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL