# so we now need to figure out which slave each of those keys
# ended up on.
#
- if ((%redis(-@%(redis.node:b 1), GET, b) == %{data1}) && \
- (%redis(-@%(redis.node:c 1), GET, c) == %{data2}) && \
- (%redis(-@%(redis.node:d 1), GET, d) == %{data3})) {
+ if ((%redis(-@%redis.node(b, 1), GET, b) == %{data1}) && \
+ (%redis(-@%redis.node(c, 1), GET, c) == %{data2}) && \
+ (%redis(-@%redis.node(d 1), GET, d) == %{data3})) {
break
}
}
#
# Check that the ZSCORE is maintained, simply with the static bit set
#
-if !(%redis(ZSCORE, {%{control.IP-Pool.Name}}:pool, 192.168.0.1) == (&zscore + %(cast:uint64 0x10000000000000))) {
+if !(%redis(ZSCORE, {%{control.IP-Pool.Name}}:pool, 192.168.0.1) == (&zscore + (uint64) 0x10000000000000)) {
test_fail
}
#
# Check ZSCORE is now < 2^52 - the "static bit"
#
-if (%redis(ZSCORE, {%{control.IP-Pool.Name}}:pool, %{reply.Framed-IP-Address}) >= %(cast:uint64 0x10000000000000)) {
+if (%redis(ZSCORE, {%{control.IP-Pool.Name}}:pool, %{reply.Framed-IP-Address}) >= (uint64) 0x10000000000000) {
test_fail
}