chore: remove usage of deprecated connection methods in command APIs in integration tests (#3328)#3343
Conversation
|
Hey @The-East-Wind , which of the tasks in #3328 does this PR address? |
|
@tishun This aims to partially address |
|
Hey @The-East-Wind , yes, I think this is the correct approach. Do you have something specific that you are concerned about? |
|
@tishun the number of places which required change was high so I wanted to confirm I was following the right approach before make all the changes so that there is no rework. I was specifically concerned about using |
907eebd to
6851931
Compare
6851931 to
a303220
Compare
…n client, pubsub, advanced cluster and at most one integration tests Signed-off-by: The-East-Wind <[email protected]>
…ntations from async commands API Signed-off-by: The-East-Wind <[email protected]>
…tion methods from command APIs Signed-off-by: The-East-Wind <[email protected]>
…thods in integration tests Signed-off-by: The-East-Wind <[email protected]>
…mmands API impl Signed-off-by: The-East-Wind <[email protected]>
Signed-off-by: The-East-Wind <[email protected]>
Signed-off-by: The-East-Wind <[email protected]>
…and cluster command APIs Signed-off-by: The-East-Wind <[email protected]>
Formatting
7b1e8d5 to
bf646c2
Compare
Sorry, saw your comment just now. What you did was great work, thanks a bunch!
|
Make sure that:
mvn formatter:formattarget. Don’t submit any formatting related changes.Part of #3328
Changes
flushCommands,isOpen,setAutoFlushCommandsandclosein integration tests and changed to use alternate methods fromStatefulRedisConnectionandStatefulRedisClusterConnection.isOpenin set client name flow for cluster commandsgetStatefulConnectionfrom integration testsflushCommands,isOpen,setAutoFlushCommandsandclosemethods from command APIsFollow up
getStatefulConnectionis still being used in > 50 integration tests, this is to be removed before the method can be removed from the command APIs