-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix timing issues in flaky scaledown tests (#189)
Terminate a clusterclient directly instead of first closing its client socket. This avoids that hiredis-cluster might succeed to reconnect to the server before the server has shutdown. Close the simulated-redis's listener socket early improves stability. Add check for alternative output depending on timing in following testcases: cluster-scale-down-test.sh dbsize-to-all-nodes-during-scaledown-test.sh dbsize-to-all-nodes-during-scaledown-test-async.sh
- Loading branch information
Showing
4 changed files
with
45 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters