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 from clusterclient in testcase cluster-scale-down-test.sh, dbsize-to-all-nodes-during-scaledown-test.shand dbsize-to-all-nodes-during-scaledown-test-async.sh, which depends on timing.
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 from clusterclient in testcase
cluster-scale-down-test.sh
,dbsize-to-all-nodes-during-scaledown-test.sh
anddbsize-to-all-nodes-during-scaledown-test-async.sh
, which depends on timing.