diff options
author | antirez <antirez@gmail.com> | 2011-07-11 12:15:35 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-07-11 12:15:35 +0200 |
commit | 30cf7be60c48c0f4931cd58bbd13201c17638b48 (patch) | |
tree | 5e15a1a64dbd22a3e9402aeed72e3b6a1bbbae87 /tests/integration/replication-3.tcl | |
parent | 524d515f0c02e62c67f6293a6b59448479f5f5e9 (diff) | |
download | redis-30cf7be60c48c0f4931cd58bbd13201c17638b48.tar.gz |
the test runs less iterations of slow tests if no --accurate is given.
Diffstat (limited to 'tests/integration/replication-3.tcl')
-rw-r--r-- | tests/integration/replication-3.tcl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/integration/replication-3.tcl b/tests/integration/replication-3.tcl index 80140f20d..e660bf4e5 100644 --- a/tests/integration/replication-3.tcl +++ b/tests/integration/replication-3.tcl @@ -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. |