summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/dht.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dht.rc b/tests/dht.rc
index 0b2496fdb6d..bf5e08b645e 100644
--- a/tests/dht.rc
+++ b/tests/dht.rc
@@ -69,7 +69,7 @@ function get_hashed_brick()
function rebalance_completed()
{
val=1
- test=$(gluster volume rebalance $V0 status | grep localhost | grep -v "in progress" 2>&1)
+ test=$(gluster volume rebalance $V0 status | grep localhost | grep "completed" 2>&1)
if [ $? -eq 0 ]
then
val=0
@@ -86,7 +86,7 @@ function rebalance_completed()
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)
+ test=$(gluster volume remove-brick $V0 $H0:$B0/${V0}2 status | grep localhost | grep "completed" 2>&1)
if [ $? -eq 0 ]
then
val=0