Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Jul 30, 2021

Replaces the existing legacy setup / teardown code with pytest fixtures.

Closes #472.

tseaver added 8 commits July 29, 2021 19:08
Refactor to use pytest fixtures / idioms, rather than old 'Config'
setup / teardown.

Toward #472.
Refactor to use pytest fixtures / idioms, rather than old 'Config'
setup / teardown.

Toward #472.
Refactor to use pytest fixtures / idioms, rather than old 'Config'
setup / teardown.

Toward #472.
Refactor to use pytest fixtures / idioms, rather than old 'Config'
setup / teardown.

Toward #472.
Refactor to use pytest fixtures / idioms, rather than old 'Config'
setup / teardown.

Toward #472.
Refactor to use pytest fixtures / idioms, rather than old 'Config'
setup/ teardown.

Toward #472.
Refactor to use pytest fixtures / idioms, rather than old 'Confog'
setup / teardown.

Toward #472.
@tseaver tseaver requested a review from larkee July 30, 2021 21:30
@tseaver tseaver requested a review from a team as a code owner July 30, 2021 21:30
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner API. label Jul 30, 2021
@snippet-bot
Copy link

snippet-bot bot commented Jul 30, 2021

Here is the summary of changes.

You are about to add 11 region tags.
You are about to delete 11 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 30, 2021
@tseaver
Copy link
Contributor Author

tseaver commented Jul 30, 2021

A couple of notes on this PR:

  • The backup systests are so slow, and occasionally flaky, that they may still need further hardening / tweaking.
  • I see that the tests are failing under the emulator. I need to work out how to run it locally to fix that. Done.

@tseaver tseaver marked this pull request as draft July 30, 2021 21:35
@tseaver tseaver marked this pull request as ready for review July 31, 2021 21:14
@larkee larkee merged commit 5629bac into master Aug 11, 2021
@larkee larkee deleted the 472-refactor-harden-systests branch August 11, 2021 04:36
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 API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor systests into separate modules, using pytest fixtures / idioms

2 participants