From 9f8885760b53e6d3952b9c9b41f9e6c48dfa6cec Mon Sep 17 00:00:00 2001 From: Harkrishn Patro <30795839+hpatro@users.noreply.github.com> Date: Mon, 3 Jan 2022 01:54:47 +0100 Subject: Sharded pubsub implementation (#8621) This commit implements a sharded pubsub implementation based off of shard channels. Co-authored-by: Harkrishn Patro Co-authored-by: Madelyn Olson --- tests/instances.tcl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/instances.tcl') diff --git a/tests/instances.tcl b/tests/instances.tcl index 2a3336b78..52e61418e 100644 --- a/tests/instances.tcl +++ b/tests/instances.tcl @@ -677,9 +677,19 @@ proc redis_deferring_client {type id} { return $client } +proc redis_deferring_client_by_addr {host port} { + set client [redis $host $port 1 $::tls] + return $client +} + proc redis_client {type id} { set port [get_instance_attrib $type $id port] set host [get_instance_attrib $type $id host] set client [redis $host $port 0 $::tls] return $client } + +proc redis_client_by_addr {host port} { + set client [redis $host $port 0 $::tls] + return $client +} \ No newline at end of file -- cgit v1.2.1