mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 16:48:27 -05:00
897adc1c8c
The test now runs in a self-contained directory. The general abstractions to run the tests in an environment where mutliple instances are executed at the same time was extrapolated into instances.tcl, that will be reused to test Redis Cluster.
6 lines
207 B
Tcl
6 lines
207 B
Tcl
# Test slave selection algorithm.
|
|
#
|
|
# This unit should test:
|
|
# 1) That when there are no suitable slaves no failover is performed.
|
|
# 2) That among the available slaves, the one with better offset is picked.
|