-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Tabletmanager tests cases migrated from Python #5630
Conversation
@deepthi Need your help to debug why The structure of the test is like this: The difference between Python and GO is: |
If mysql is down, you will get a different error (probably CRServerGone or CRServerLost), not |
Got it. I have replicated the Python test case scenario and now the tests are passing. |
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
6b24f00
to
001ef75
Compare
func TestIgnoreHealthError(t *testing.T) { | ||
func TestNoMysqlHealthCheck(t *testing.T) { |
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.
Does this mean that we are not testing the IgnoreHealthError functionality? Is there a different test case that covers it?
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.
That's just github's view. They usually mess up if the same signature method is added up/down.
The TestIgnoreHealthError
is still present at line 249.
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.
Ah ok
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
Adding/Fixing test cases that were flaky before.
Signed-off-by: Ajeet jain ajeet@planetscale.com