diff options
Diffstat (limited to 'tests/volume.rc')
-rw-r--r-- | tests/volume.rc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/volume.rc b/tests/volume.rc index 2992e866fda..5df33d9f672 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -23,8 +23,7 @@ function brick_up_status { local vol=$1 local host=$2 local brick=$3 - brick_pid=$(get_brick_pid $vol $host $brick) - gluster volume status | grep $brick_pid | awk '{print $4}' + $CLI volume status $vol $host:$brick --xml | sed -ne 's/.*<status>\([01]\)<\/status>/\1/p' } function volume_option() |