summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-03-15 17:13:19 +0100
committerantirez <antirez@gmail.com>2019-03-18 11:25:57 +0100
commit623afd5e4bdad16edfa1300506fdf7f26c471d64 (patch)
treeb791f78cf620ba026f580022c782da90d35423a2 /tests
parent12b5ff109508c2a192f700c7738da7e7f09670f1 (diff)
downloadredis-623afd5e4bdad16edfa1300506fdf7f26c471d64.tar.gz
HyperLogLog: speedup fuzz test.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/hyperloglog.tcl3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/hyperloglog.tcl b/tests/unit/hyperloglog.tcl
index 6a9c47b11..712fcc641 100644
--- a/tests/unit/hyperloglog.tcl
+++ b/tests/unit/hyperloglog.tcl
@@ -116,7 +116,7 @@ start_server {tags {"hll"}} {
} {*WRONGTYPE*}
test {Fuzzing dense/sparse encoding: Redis should always detect errors} {
- for {set j 0} {$j < 10000} {incr j} {
+ for {set j 0} {$j < 1000} {incr j} {
r del hll
set items {}
set numitems [randomInt 3000]
@@ -139,7 +139,6 @@ start_server {tags {"hll"}} {
# Redis in some way.
catch {
r pfcount hll
- r pfdebug getreg hll
}
}
}