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

Tests: Reduce cluster setup flakiness #999

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

jaymell
Copy link
Contributor

@jaymell jaymell commented Dec 5, 2023

Check to make sure the port is open/accessible from the redis
server process before moving onto the cluster creation process.

Recent testing suggests that initiating cluster creation before the
server process has a chance to fully initialize is the biggest cause
of flaky cluster tests, so testing the port prior should prevent that.

@jaymell jaymell marked this pull request as draft December 5, 2023 16:47
@jaymell jaymell force-pushed the more-test-delay branch 2 times, most recently from f7e6321 to cd04d87 Compare December 6, 2023 22:00
@jaymell jaymell changed the title Tests: Try to reduce cluster setup flakiness Tests: Reduce cluster setup flakiness Dec 7, 2023
The redis processes appear to be crashing/failing to fully
initialize after we check it but before the cluster creation is
initiated. Add some additional sleep in an attempt to catch
the failure before moving on in the setup.
@jaymell jaymell marked this pull request as ready for review December 7, 2023 05:38
@jaymell jaymell merged commit 304eb93 into redis-rs:main Dec 7, 2023
10 checks passed
@jaymell jaymell deleted the more-test-delay branch December 7, 2023 19:26
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.

None yet

1 participant