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

Don't use auto-retry in unit/type/list_test.go #1463

Merged
merged 1 commit into from
May 22, 2023
Merged

Don't use auto-retry in unit/type/list_test.go #1463

merged 1 commit into from
May 22, 2023

Conversation

git-hulk
Copy link
Member

@git-hulk git-hulk commented May 22, 2023

Currently, go-redis will auto-retry if the request was timeout and it may cause the duplicate push in the list test case. So we need to manually disable it to reduce the possibility of the CI test.

This flaky test wasn't caused by using the same key in multiple test cases, which was resolved in #1449 and still failed frequently. After investigating the test case, the possible reason may be caused by the go-redis auto-retry strategy.

Currently, go-redis will auto-retry if the request was timeout and it
may cause the duplicate push in the list test case. So we need to
manually disable it to reduce the possibility of the CI test.
@git-hulk
Copy link
Member Author

Thanks @torwig, merging..

@git-hulk git-hulk merged commit 635dd31 into apache:unstable May 22, 2023
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.

2 participants