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

sql: fix very slow TestSchemaChangeRetryOnVersionChange #66070

Merged
merged 1 commit into from
Jun 4, 2021

Conversation

ajwerner
Copy link
Contributor

@ajwerner ajwerner commented Jun 4, 2021

See here.
This test was taking 10 minutes every time. This was happening because of the
change to wait for the version's leases to expire in #63725.

After:

--- PASS: TestSchemaChangeRetryOnVersionChange (1.70s)

Release note: None

See [here](https://teamcity.cockroachdb.com/project.html?projectId=Cockroach_UnitTests&testNameId=6532733632782929224&tab=testDetails).
This test was taking 10 minutes every time. This was happening because of the
change to wait for the version's leases to expire in cockroachdb#63725.

After:
```
--- PASS: TestSchemaChangeRetryOnVersionChange (1.70s)
```

Release note: None
@ajwerner ajwerner requested a review from fqazi June 4, 2021 02:53
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@fqazi fqazi left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @ajwerner)

@ajwerner
Copy link
Contributor Author

ajwerner commented Jun 4, 2021

TFTR!

bors r=fqazi

@craig
Copy link
Contributor

craig bot commented Jun 4, 2021

Build succeeded:

@craig craig bot merged commit 02830c2 into cockroachdb:master Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants