]> git.saurik.com Git - redis.git/commit - tests/support/util.tcl
EVAL replication test: less false positives.
authorantirez <antirez@gmail.com>
Sat, 2 Jun 2012 21:29:57 +0000 (23:29 +0200)
committerantirez <antirez@gmail.com>
Sat, 2 Jun 2012 21:32:01 +0000 (23:32 +0200)
commit3f12656781b883316c5e1a1375869fec1dea05a2
treed54640c805adb4c7190279841e30f8505942bf97
parent591c9e6543d4474bd74921fbd15f110fa603b7b6
EVAL replication test: less false positives.

wait_for_condition is now used instead of the usual "after 1000" (that
is the way to sleep in Tcl). This should avoid to find the replica in
a state where it is loading the RDB in memory, returning -LOADING error.

This test used to fail when running the test over valgrind, due to the
added latencies.
tests/support/util.tcl
tests/unit/scripting.tcl