Skip to content

Conversation

@vi3k6i5
Copy link
Contributor

@vi3k6i5 vi3k6i5 commented Jan 18, 2022

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 product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API. label Jan 18, 2022
Copy link
Contributor

@IlyaFaer IlyaFaer left a comment

Choose a reason for hiding this comment

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

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 vi3k6i5 force-pushed the ft-instance-cleanup branch from cf3920a to 7a3c055 Compare January 18, 2022 07:51
@IlyaFaer IlyaFaer added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 27, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 27, 2022
@IlyaFaer
Copy link
Contributor

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

@vi3k6i5 vi3k6i5 merged commit 2932a02 into googleapis:main Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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