From 2ac7b5a8b41bb71fce52c86f9ba420769663609e Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 4 Feb 2015 11:53:19 +0100 Subject: [PATCH] Fix RDB corruption test after server behavior change. --- tests/integration/rdb.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/rdb.tcl b/tests/integration/rdb.tcl index 71876a6e..a2f187ad 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!" }