replication with expire test modified to produce no or less false failures

This commit is contained in:
antirez 2011-05-12 20:15:13 +02:00
parent 06d22a8a8a
commit 70bc5f7724

View File

@ -27,6 +27,8 @@ start_server {tags {"repl"}} {
test {MASTER and SLAVE consistency with expire} {
createComplexDataset r 50000 useexpire
after 4000 ;# Make sure everything expired before taking the digest
r keys * ;# Force DEL syntesizing to slave
after 1000 ;# Wait another second. Now everything should be file.
if {[r debug digest] ne [r -1 debug digest]} {
set csv1 [csvdump r]
set csv2 [csvdump {r -1}]