-
Notifications
You must be signed in to change notification settings - Fork 504
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
Fix flaky test in migration timeout #1464
Fix flaky test in migration timeout #1464
Conversation
Currently, the migration timeout test case failed frequently when running in GitHub Actions and the value result is Nil. But we cannot know if it's caused by error or the result value is a nil string, so we can need to check if it occurs error to narrow the scope.
We have reproduced this flaky error: https://github.com/apache/incubator-kvrocks/actions/runs/5044728692/jobs/9055654883. It's caused by the slot conflict when running the migration, let's increase the start slot to avoid this. |
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
|
||
// check the following command on the same connection | ||
require.Equal(t, "PONG", rdb0.Ping(ctx).Val()) |
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.
This line won' take effect since we're using the connection pool.
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.
@git-hulk Yes, absolutely.
Co-authored-by: clundro <infdahai@outlook.com>
Thanks all, merging... |
This closes #1452