summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLalatendu Mohanty <lmohanty@redhat.com>2013-03-08 15:27:42 +0530
committerAnand Avati <avati@redhat.com>2013-03-08 21:46:20 -0800
commitb1755efdffacf5e3023a737974e6c8ffdc569386 (patch)
treef773a6191220eb848405ad288b28399173f67165 /tests
parent8500c9aff1d46a4cb129cdecac48ee369e46bebf (diff)
tests:Adding remove-brick test to volume.t
Change-Id: Ibef0c151ef6518136cd5f4c39ec5e89f06ff4133 BUG: 764966 Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com> Reviewed-on: http://review.gluster.org/4650 Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/basic/volume.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basic/volume.t b/tests/basic/volume.t
index 8491164ceff..2f9096055e7 100755
--- a/tests/basic/volume.t
+++ b/tests/basic/volume.t
@@ -22,6 +22,9 @@ EXPECT 'Started' volinfo_field $V0 'Status';
TEST $CLI volume add-brick $V0 $H0:$B0/${V0}{9,10,11,12};
EXPECT '12' brick_count $V0
+TEST $CLI volume remove-brick $V0 $H0:$B0/${V0}{1,2,3,4};
+EXPECT '8' brick_count $V0
+
TEST $CLI volume stop $V0;
EXPECT 'Stopped' volinfo_field $V0 'Status';