mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
Increase threshold in 51_ctdb_bench from 2% to 5%.
The threshold for the difference in the number messages sent in either direction around the ring of nodes was set to 2%. Something environmental is causing this different to sometimes be as high as 3%. We're confident it isn't a CTDB issue so we're increasing the threshold to 5%. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit d5ca4ab325fce1f81361a4d79810cb543979ce57)
This commit is contained in:
parent
0219d12fd4
commit
22d4b40b6d
@ -83,7 +83,7 @@ fi
|
||||
perc_diff=$(( ($positive - $negative) * 100 / $positive ))
|
||||
perc_diff=${perc_diff#-}
|
||||
|
||||
check_percent=2
|
||||
check_percent=5
|
||||
if [ $perc_diff -le $check_percent ] ; then
|
||||
echo "OK: percentage difference between +ive and -ive ($perc_diff%) <= $check_percent%"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user