summaryrefslogtreecommitdiff
path: root/tests/unit/aofrw.tcl
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2012-05-25 15:20:59 +0200
committerantirez <antirez@gmail.com>2012-05-25 15:20:59 +0200
commitbc70b8e5f4a161db0efbc95e3afda884b85b5229 (patch)
treea01e54ab8dc1680caef70ee35099471cb70f2d00 /tests/unit/aofrw.tcl
parent33e1db36fa3948c8b9baa3991fd40e7f6b31fb9e (diff)
downloadredis-bc70b8e5f4a161db0efbc95e3afda884b85b5229.tar.gz
Tests modified to account for INFO fields renaming.
Commit 33e1db36fa3948c8b9baa3991fd40e7f6b31fb9e modified the name of a few INFO fields. This commit changes the Redis test to account for this changes.
Diffstat (limited to 'tests/unit/aofrw.tcl')
-rw-r--r--tests/unit/aofrw.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/aofrw.tcl b/tests/unit/aofrw.tcl
index 8b09d1995..e651694fe 100644
--- a/tests/unit/aofrw.tcl
+++ b/tests/unit/aofrw.tcl
@@ -127,8 +127,8 @@ start_server {tags {"aofrw"}} {
r info persistence
set res [r exec]
assert_match {*scheduled*} [lindex $res 1]
- assert_match {*bgrewriteaof_scheduled:1*} [lindex $res 2]
- while {[string match {*bgrewriteaof_scheduled:1*} [r info persistence]]} {
+ assert_match {*aof_rewrite_scheduled:1*} [lindex $res 2]
+ while {[string match {*aof_rewrite_scheduled:1*} [r info persistence]]} {
after 100
}
}
@@ -141,7 +141,7 @@ start_server {tags {"aofrw"}} {
r exec
} e
assert_match {*ERR*already*} $e
- while {[string match {*bgrewriteaof_scheduled:1*} [r info persistence]]} {
+ while {[string match {*aof_rewrite_scheduled:1*} [r info persistence]]} {
after 100
}
}