Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(spanner/spannertest): speed up no-wait DDL changes #2994

Merged
merged 1 commit into from
Oct 13, 2020
Merged

perf(spanner/spannertest): speed up no-wait DDL changes #2994

merged 1 commit into from
Oct 13, 2020

Conversation

dsymonds
Copy link
Contributor

spannertest simulates DDL application delays but skips the delay if
there is a waiter. Improve that mechanism so a waiter arriving during
the delay will immediately cancel the delay.

This speeds up the local execution time of spannertest's own tests from
~5s to ~3s.

@dsymonds dsymonds added the api: spanner Issues related to the Spanner API. label Oct 10, 2020
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 10, 2020
spannertest simulates DDL application delays but skips the delay if
there is a waiter. Improve that mechanism so a waiter arriving during
the delay will immediately cancel the delay.

This speeds up the local execution time of spannertest's own tests from
~5s to ~3s.
@dsymonds dsymonds added the automerge Merge the pull request once unit tests and other checks pass. label Oct 13, 2020
@gcf-merge-on-green gcf-merge-on-green bot merged commit deaa855 into googleapis:master Oct 13, 2020
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 13, 2020
@dsymonds dsymonds deleted the spannertest-faster branch October 13, 2020 20:56
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 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.

None yet

2 participants