mirror of https://github.com/redis/redis.git
Fix RDB corruption test after server behavior change.
This commit is contained in:
parent
78dd2b313e
commit
2ac7b5a8b4
|
|
@ -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!"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue