summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2018-08-02 10:17:28 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-08-03 22:45:33 +0000
commit871ea43ef0d5e1c76903cdda63ccf2a8764a9615 (patch)
tree6d698cd33ec6f547cd9ef801913f5871dc86d7a2 /tests/volume.rc
parente47a320508661d8f33a7b583cf7f6999070d37de (diff)
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>
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index ba0fac7bfc9..7a7a580ec3e 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -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
}