summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kparthas@redhat.com>2013-02-04 12:04:04 +0530
committerAnand Avati <avati@redhat.com>2013-02-04 08:45:09 -0800
commit99c86cc5aefab052c924b2ff31197d02602da4f1 (patch)
treef0d80dc038a33ddb39c73f7eb1a7e1afd114cbaf /tests/volume.rc
parent189eaecf61091145389142b961a1c9f190299f60 (diff)
tests: Made changes to verify if any of the bricks crashed
Change-Id: I9da3b8a490159b1090a803b74d0058be0d884c94 BUG: 905864 Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/4461 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra G <raghavendra@gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
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