summaryrefslogtreecommitdiff
path: root/tests/helpers
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2019-12-01 14:57:18 +0200
committerOran Agra <oran@redislabs.com>2019-12-01 16:10:09 +0200
commit07b365b7d780d7ec82f53a268372eb82765fb755 (patch)
tree12580537a218a04f1ed3412c8ca83b07c592d065 /tests/helpers
parentf5d48537f1aa76e5ce4f14953517bd25c9ad4673 (diff)
downloadredis-07b365b7d780d7ec82f53a268372eb82765fb755.tar.gz
revert an accidental test code change done as part of the tls project
it seems that commit b087dd1db60ed23d9e59304deb0b1599437f6e23 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
Diffstat (limited to 'tests/helpers')
-rw-r--r--tests/helpers/gen_write_load.tcl2
1 files changed, 1 insertions, 1 deletions
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()]