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
b4fb720b
Commit
b4fb720b
authored
Dec 21, 2011
by
antirez
Browse files
A test modified to pass with the new AOF start/stop semantics.
parent
202e3091
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/other.tcl
View file @
b4fb720b
...
@@ -140,6 +140,7 @@ start_server {tags {"other"}} {
...
@@ -140,6 +140,7 @@ start_server {tags {"other"}} {
r pexpireat pz
[
expr
{([
clock seconds
]
+3000
)
*1000
}]
r pexpireat pz
[
expr
{([
clock seconds
]
+3000
)
*1000
}]
# Reload and check
# Reload and check
waitForBgrewriteaof r
r debug loadaof
r debug loadaof
set ttl
[
r ttl x
]
set ttl
[
r ttl x
]
assert
{
$ttl
> 900 && $ttl <= 1000
}
assert
{
$ttl
> 900 && $ttl <= 1000
}
...
...
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