diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2015-05-09 12:23:10 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-05-09 00:22:41 -0700 |
commit | 988e00f83cb74c908471caf6af9cbce05b7f95c9 (patch) | |
tree | 365d75fb8754a3bc9254f47f2e480763e3f2c209 /tests/volume.rc | |
parent | 5faf4801bd6839cec58324a45dec31f977992236 (diff) |
tests: fix bitrot spurious failures
Change-Id: I55bd62480b7ee38cf7b29aeba67b19b0c5bbe2fb
BUG: 1220016
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/10702
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/volume.rc')
-rw-r--r-- | tests/volume.rc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc index e7d7606ac11..8c216f76166 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -531,3 +531,12 @@ else echo "1" fi } + +function get_bitd_count { + ps auxw | grep glusterfs | grep bitd.pid | grep -v grep | wc -l +} + +function get_scrubd_count { + ps auxw | grep glusterfs | grep scrub.pid | grep -v grep | wc -l +} + |