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-15 17:13:19 +0100
commitdca7358279bb6449f93e01f7d2806639b8e9ec4b (patch)
tree2dc81e4f3dfef8152f601a204cc2ffcf6637d0d8 /tests
parenta4b90be9fcd5e1668ac941cabce3b1ab38dbe326 (diff)
downloadredis-dca7358279bb6449f93e01f7d2806639b8e9ec4b.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
}
}
}