mirror of
https://github.com/fluencelabs/redis
synced 2025-04-03 00:01:04 +00:00
Fix test for new RDB checksum failure message.
This commit is contained in:
parent
b99ad1bd80
commit
a0dd0140f3
@ -89,7 +89,7 @@ close $fd
|
|||||||
start_server_and_kill_it [list "dir" $server_path] {
|
start_server_and_kill_it [list "dir" $server_path] {
|
||||||
test {Server should not start if RDB is corrupted} {
|
test {Server should not start if RDB is corrupted} {
|
||||||
wait_for_condition 50 100 {
|
wait_for_condition 50 100 {
|
||||||
[string match {*RDB checksum*} \
|
[string match {*CRC error*} \
|
||||||
[exec tail -n10 < [dict get $srv stdout]]]
|
[exec tail -n10 < [dict get $srv stdout]]]
|
||||||
} else {
|
} else {
|
||||||
fail "Server started even if RDB was corrupted!"
|
fail "Server started even if RDB was corrupted!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user