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

chore: fix session acquire timeout test #2793

Merged
merged 4 commits into from
Feb 7, 2024
Merged

Conversation

olavloite
Copy link
Collaborator

The test for session acquire timeout did not actually do what it was supposed to do, as it did not check that a timeout was actually registered. This again also caused it to busy-wait for 5 seconds to times (MinSessions=0 and MinSessions=1). This fixes both the actual test, and reduces the overall test time by about 10 seconds.

The test for session acquire timeout did not actually do what it
was supposed to do, as it did not check that a timeout was actually
registered. This again also caused it to busy-wait for 5 seconds
to times (MinSessions=0 and MinSessions=1). This fixes both the
actual test, and reduces the overall test time by about 10 seconds.
@olavloite olavloite requested a review from a team as a code owner January 20, 2024 12:10
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: spanner Issues related to the googleapis/java-spanner API. labels Jan 20, 2024
@olavloite olavloite added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 20, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 20, 2024
@product-auto-label product-auto-label bot added size: s Pull request size is small. and removed size: xs Pull request size is extra small. labels Feb 6, 2024
@olavloite olavloite requested a review from a team as a code owner February 6, 2024 11:32
@olavloite olavloite added the automerge Merge the pull request once unit tests and other checks pass. label Feb 6, 2024
Copy link
Contributor

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Feb 6, 2024
@olavloite olavloite merged commit 79c30d2 into main Feb 7, 2024
25 of 26 checks passed
@olavloite olavloite deleted the fix-session-timeout-test branch February 7, 2024 06:09
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/java-spanner API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants