fix short timeout in replication short read tests (#9763)

In both tests, "diskless loading short read" and "diskless loading short read with module",
the timeout of waiting for the replica to respond to a short read and log it, is too short.

Also, add --dump-logs in runtest-moduleapi for valgrind runs.
This commit is contained in:
YaacovHazan
2021-11-09 22:37:18 +02:00
committed by GitHub
parent cd0f710be9
commit 03406fcb6c
3 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ tags "modules" {
# kill the replica connection on the master
set killed [$master client kill type replica]
set res [wait_for_log_messages -1 {"*Internal error in RDB*" "*Finished with success*" "*Successful partial resynchronization*"} $loglines 1000 1]
set res [wait_for_log_messages -1 {"*Internal error in RDB*" "*Finished with success*" "*Successful partial resynchronization*"} $loglines 500 10]
if {$::verbose} { puts $res }
set log_text [lindex $res 0]
set loglines [lindex $res 1]