the test runs less iterations of slow tests if no --accurate is given.

This commit is contained in:
antirez
2011-07-11 12:15:35 +02:00
parent 524d515f0c
commit 30cf7be60c
4 changed files with 11 additions and 6 deletions

View File

@ -6,8 +6,10 @@ start_server {tags {"repl"}} {
s -1 role
} {slave}
if {$::accurate} {set numops 50000} else {set numops 5000}
test {MASTER and SLAVE consistency with expire} {
createComplexDataset r 50000 useexpire
createComplexDataset r $numops 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 fine.