summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-02-04 11:53:19 +0100
committerantirez <antirez@gmail.com>2015-02-04 11:53:19 +0100
commit2ac7b5a8b41bb71fce52c86f9ba420769663609e (patch)
tree179be16ea002e7ba57f8c57b479c6e31fd8d6ab1
parent78dd2b313eb7b398bac64543390dcfd70e6fd148 (diff)
downloadredis-2ac7b5a8b41bb71fce52c86f9ba420769663609e.tar.gz
Fix RDB corruption test after server behavior change.
-rw-r--r--tests/integration/rdb.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/rdb.tcl b/tests/integration/rdb.tcl
index 71876a6ed..a2f187ad4 100644
--- a/tests/integration/rdb.tcl
+++ b/tests/integration/rdb.tcl
@@ -90,7 +90,7 @@ start_server_and_kill_it [list "dir" $server_path] {
test {Server should not start if RDB is corrupted} {
wait_for_condition 50 100 {
[string match {*RDB checksum*} \
- [exec tail -n1 < [dict get $srv stdout]]]
+ [exec tail -n10 < [dict get $srv stdout]]]
} else {
fail "Server started even if RDB was corrupted!"
}