From 871ea43ef0d5e1c76903cdda63ccf2a8764a9615 Mon Sep 17 00:00:00 2001 From: Atin Mukherjee Date: Thu, 2 Aug 2018 10:17:28 +0530 Subject: 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 --- tests/volume.rc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') 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 } -- cgit