-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: reduce job times for randomized syntax change tests #88535
Conversation
Fixes: cockroachdb#86366, cockroachdb#87569 Previously, the exponential back off time for randomized syntax change tests was 20 seconds, which was inappropriate for some randomized tests, since transaction retry errors could lead to schema changes taking a really long time. This could cause the test to fail with timeout errors, since we would incorrectly think that connections were hung. To address this, this patch makes the exponential back off configurable for the purpose of testing. Release note: None
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @fqazi)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
heads up, the PR had the line
Fixes: #86366, #87569
in order for the issue auto-closing issue to work correctly, the issue numbers have to be on separate lines. i changed it to:
Fixes: #86366
Fixes #87569
bors r+ |
Build succeeded: |
Encountered an error creating backports. Some common things that can go wrong:
You might need to create your backport manually using the backport tool. error creating PR, but backport branch blathers/backport-deprecate-release-22.1.0-88535 is ready: POST https://api.github.com/repos/cockroachdb/cockroach/pulls: 422 Validation Failed [{Resource:PullRequest Field:base Code:invalid Message:}] Backport to branch 22.1.0 failed. See errors above. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
blathers backport 22.1 |
Fixes: #86366
Fixes #87569
Previously, the exponential back off time for randomized syntax change tests was 20 seconds, which was inappropriate for some randomized tests, since transaction retry errors could lead to schema changes taking a really long time. This could cause the test to fail with timeout errors, since we would incorrectly think that connections were hung. To address this, this patch
makes the exponential back off configurable for the purpose of testing.
Release note: None
Release justification: low risk change to improve test stability