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
fbac534f
Commit
fbac534f
authored
Oct 13, 2018
by
antirez
Browse files
Test: avoid time related false positive in RESTORE test.
parent
49872337
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/dump.tcl
View file @
fbac534f
...
...
@@ -33,7 +33,7 @@ start_server {tags {"dump"}} {
set now
[
clock milliseconds
]
r restore foo
[
expr $now+3000
]
$encoded absttl
set ttl
[
r pttl foo
]
assert
{
$ttl
>= 29
9
0 && $ttl <= 3
0
00
}
assert
{
$ttl
>= 29
0
0 && $ttl <= 3
1
00
}
r get foo
}
{
bar
}
...
...
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