summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2015-12-21 12:07:51 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-12-28 03:03:21 -0800
commita370013898585a87657ae41e4f266da5d98cc5d2 (patch)
tree579e410bec02a2d3c91faaa60942af9697699559 /tests/volume.rc
parent78305ce9604329250dd4a9f2335587957d71c701 (diff)
tests: handle bad objects during lookup/inode_refresh
Change-Id: I1848f0e9243c9376e0deba6738757350fe8b704a BUG: 1290965 Signed-off-by: Ravishankar N <ravishankar@redhat.com> Reviewed-on: http://review.gluster.org/13044 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index 5df33d9f672..818f83da99b 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -42,6 +42,10 @@ function rebalance_status_field {
$CLI volume rebalance $1 status | awk '{print $7,$8,$9}' |sed -n 3p |tr -d '[^0-9+\.]'|sed 's/ *$//g'
}
+function detach_tier_status_field {
+ $CLI volume tier $1 detach status | awk '{print $7,$8,$9}' |sed -n 3p |tr -d '[^0-9+\.]'|sed 's/ *$//g'
+}
+
function remove_brick_status_completed_field {
local vol=$1
local brick_list=$2