summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index 935e503908f..9d579aa22be 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -14,6 +14,11 @@ function brick_count()
$CLI volume info $vol | egrep "^Brick[0-9]+: " | wc -l;
}
+function online_brick_count ()
+{
+ pidof glusterfsd | wc -w
+}
+
function volume_option()
{
local vol=$1