-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
domain: make TestSchemaValidator stable #8334
Conversation
@@ -63,10 +64,12 @@ func (*testSuite) TestSchemaValidator(c *C) { | |||
validator.Restart() | |||
|
|||
// Sleep for a long time, check schema is invalid. | |||
ts := <-oracleCh // Make sure that ts has timed out a lease. |
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.
Should we move the comment to line 68?
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.
No. It's used to comment line67-69.
/run-integration-ddl-test |
LGTM |
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.
LGTM
What problem does this PR solve?
Make TestSchemaValidator stable.
What is changed and how it works?
Make sure that ts has timed out a lease and add comments.
Related changes
This change is