From dd5e318e020fab5914567885c1b83815b39d46f9 Mon Sep 17 00:00:00 2001 From: ggarg Date: Mon, 21 Apr 2014 18:59:00 +0530 Subject: glusterd: Differentiate rebalance status and remove-brick status messages previously when user triggred 'gluster volume remove-brick VOLNAME BRICK start' then command' gluster volume rebalance status' showing output even user has not triggred "rebalance start" and when user triggred 'gluster volume rebalance start' then command 'gluster volume remove-brick VOLNAME BRICK status' showing output even user has not run rebalance start and remove brick start. regression test failed in previous patch. file test/dht.rc and test/bug/bug-973073 edited to avoid regression test failure. now with this fix it will differentiate rebalance and remove-brick status messages. Signed-off-by: ggarg Change-Id: I7f92ad247863b9f5fbc0887cc2ead07754bcfb4f BUG: 1089668 Reviewed-on: http://review.gluster.org/7517 Tested-by: Gluster Build System Reviewed-by: Atin Mukherjee Reviewed-by: Humble Devassy Chirammal Reviewed-by: Vijay Bellur --- tests/bugs/bug-973073.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/bugs/bug-973073.t') diff --git a/tests/bugs/bug-973073.t b/tests/bugs/bug-973073.t index 83e2839c67d..619f1733114 100755 --- a/tests/bugs/bug-973073.t +++ b/tests/bugs/bug-973073.t @@ -34,7 +34,7 @@ TEST glusterfs -s $H0 --volfile-id $V0 $M0; TEST $CLI volume remove-brick $V0 $H0:$B0/${V0}2 start ## remove-brick status == rebalance_status -EXPECT_WITHIN 30 "0" rebalance_completed +EXPECT_WITHIN 30 "0" remove_brick_completed TEST $CLI volume remove-brick $V0 $H0:$B0/${V0}2 stop -- cgit