diff options
author | Oran Agra <oran@redislabs.com> | 2019-12-01 14:57:18 +0200 |
---|---|---|
committer | Oran Agra <oran@redislabs.com> | 2019-12-01 16:10:09 +0200 |
commit | 07b365b7d780d7ec82f53a268372eb82765fb755 (patch) | |
tree | 12580537a218a04f1ed3412c8ca83b07c592d065 /tests/helpers | |
parent | f5d48537f1aa76e5ce4f14953517bd25c9ad4673 (diff) | |
download | redis-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.tcl | 2 |
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()] |