Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
dca73582
Commit
dca73582
authored
Mar 15, 2019
by
antirez
Browse files
HyperLogLog: speedup fuzz test.
parent
a4b90be9
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/hyperloglog.tcl
View file @
dca73582
...
@@ -116,7 +116,7 @@ start_server {tags {"hll"}} {
...
@@ -116,7 +116,7 @@ start_server {tags {"hll"}} {
}
{
*WRONGTYPE*
}
}
{
*WRONGTYPE*
}
test
{
Fuzzing dense/sparse encoding: Redis should always detect errors
}
{
test
{
Fuzzing dense/sparse encoding: Redis should always detect errors
}
{
for
{
set j 0
}
{
$j
< 1000
0
}
{
incr j
}
{
for
{
set j 0
}
{
$j
< 1000
}
{
incr j
}
{
r del hll
r del hll
set items
{}
set items
{}
set numitems
[
randomInt 3000
]
set numitems
[
randomInt 3000
]
...
@@ -139,7 +139,6 @@ start_server {tags {"hll"}} {
...
@@ -139,7 +139,6 @@ start_server {tags {"hll"}} {
# Redis in some way.
# Redis in some way.
catch
{
catch
{
r pfcount hll
r pfcount hll
r pfdebug getreg hll
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment