]> git.saurik.com Git - redis.git/commit - tests/unit/scripting.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:29:57 +0000 (23:29 +0200)
commit80e808b6d6ca40580899bda0397d7c0d9b19b1a8
treee93a2e0038ce01ebc5300e3cb087ad7aa25fe6b1
parent51857c7e5cc6479323d53778e37a197f7c140fbf
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