diff options
Diffstat (limited to 'tests/dht.rc')
| -rw-r--r-- | tests/dht.rc | 13 | 
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/dht.rc b/tests/dht.rc index 54425c9dc69..a11bbfd8a97 100644 --- a/tests/dht.rc +++ b/tests/dht.rc @@ -78,3 +78,16 @@ function rebalance_completed()         echo $val         return $val  } + +function remove_brick_completed() +{ +       val=1 +       test=`gluster volume remove-brick $V0 $H0:$B0/${V0}2 status |grep localhost|grep -v "in progress" 2>&1` +       if [ $? -eq 0 ] +       then +                val=0 +       fi + +       echo $val +       return $val +}  | 
