From 8e19f9e0481a3b6c42e6543f6a85fb2cc55de94c Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Sun, 1 Dec 2019 14:57:18 +0200 Subject: [PATCH] revert an accidental test code change done as part of the tls project it seems that commit 10ffeb03e4908b46c34f72d6b526ffa0834fd3f8 accidentially changed gen_write_load to not use deferred client, which causes them to be slower and not generate high load which they should, making some tests less effecitive --- tests/helpers/gen_write_load.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/gen_write_load.tcl b/tests/helpers/gen_write_load.tcl index fd6aad40c..cbf6651bd 100644 --- a/tests/helpers/gen_write_load.tcl +++ b/tests/helpers/gen_write_load.tcl @@ -4,7 +4,7 @@ set ::tlsdir "tests/tls" proc gen_write_load {host port seconds tls} { set start_time [clock seconds] - set r [redis $host $port 0 $tls] + set r [redis $host $port 1 $tls] $r select 9 while 1 { $r set [expr rand()] [expr rand()]