test_fail
}
-if (%(length:%{Callback-Id}) != 11) {
+if (%length(%{Callback-Id}) != 11) {
test_fail
}
return RLM_MODULE_NOTFOUND;
} else {
# Accept user and set some attribute
- if (&radiusd::xlat("%(client:group)") eq 'UltraAllInclusive') {
+ if (&radiusd::xlat("%client(group)") eq 'UltraAllInclusive') {
# User called from NAS with unlim plan set, set higher limits
# TODO - re-enabled when nested attributes are handled
# $RAD_REPLY{'Vendor-Specific.Cisco.h323-credit-amount'} = "1000000";
}
# Leave some time (500ms) for the synchronisation
-%(delay:0.5)
+%delay(0.5)
# Note the current master
&redismaster := %redis.node(b, 0)
if (%redis.node(b, 0) == &redisreplica) {
break
}
- %(delay:0.5)
+ %delay(0.5)
}
if (!(%redis(GET, b) == 'boom')) {
}
# No alternatives...
-%(delay:0.5)
+%delay(0.5)
if (%redis(GET, b) == 'boom') {
test_fail
}
#
# The cluster tends to come up within a couple of seconds, but it takes longer
# for the replicas to be displayed in cluster slot output (usually ~5 seconds).
- %(delay:0.5)
+ %delay(0.5)
#
# If the cluster is still not behaving