tests: fix online_brick_count function
online_brick_count should discard Bitrot and Scrubber daemon. Change-Id: I301373ccdbeec1d1a5e6c6b137f48ed997f22556 Fixes: bz#1611103 Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
This commit is contained in:
parent
e47a320508
commit
871ea43ef0
@ -48,7 +48,10 @@ function online_brick_count ()
|
||||
v3=`check_brick_status "Quota"`
|
||||
v4=`check_brick_status "Snapshot"`
|
||||
v5=`check_brick_status "Tier"`
|
||||
tot=$((v1-v2-v3-v4-v5))
|
||||
v6=`check_brick_status "Scrubber"`
|
||||
v7=`check_brick_status "Bitrot"`
|
||||
|
||||
tot=$((v1-v2-v3-v4-v5-v6-v7))
|
||||
echo $tot
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user