diff options
author | Avra Sengupta <asengupt@redhat.com> | 2013-05-27 22:23:57 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-07-22 01:53:03 -0700 |
commit | 950371be29d029179ac5cd0ad2dfdbfcd4467b96 (patch) | |
tree | a979d3c710c25074088bd05cef5b6a0ede9505a9 /tests/bugs/bug-861945.t | |
parent | 11f6c56f83b977a08f9d74563249cef59e22a05d (diff) |
move 'xlators/marker/utils/' to 'geo-replication/' directory
Change-Id: Ibd0faefecc15b6713eda28bc96794ae58aff45aa
BUG: 847839
Original Author: Amar Tumballi <amarts@redhat.com>
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/5133
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/bugs/bug-861945.t')
-rwxr-xr-x | tests/bugs/bug-861945.t | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/tests/bugs/bug-861945.t b/tests/bugs/bug-861945.t deleted file mode 100755 index 29ccb33c8b1..00000000000 --- a/tests/bugs/bug-861945.t +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash - -. $(dirname $0)/../include.rc - -cleanup; - -function georep_start_and_check() -{ - local master=$1 - local slave=$2 - - $CLI volume geo-replication $master $slave start -} - -function georep_stop() -{ - local master=$1 - local slave=$2 - - $CLI volume geo-replication $master $slave stop -} - -TEST glusterd -TEST pidof glusterd -TEST $CLI volume create $V0 $H0:$B0/brick0 $H0:$B0/brick1 -TEST $CLI volume start $V0 - -sleep 5 - -slave=`mktemp -d` -mkdir -p $slave - -# check normal functionality of geo-replication -EXPECT_KEYWORD "successful" georep_start_and_check $V0 $slave -TEST georep_stop $V0 $slave - -# now invoke replace brick -TEST $CLI volume replace-brick $V0 $H0:$B0/brick1 $H0:$B0/brick2 start - -# check if CLI refuses to start geo replication -EXPECT_KEYWORD "failed" georep_start_and_check $V0 $slave - -# commit replace brick operation -TEST $CLI volume replace-brick $V0 $H0:$B0/brick1 $H0:$B0/brick2 commit - -# geo replication should work as usual -EXPECT_KEYWORD "successful" georep_start_and_check $V0 $slave -TEST georep_stop $V0 $slave - -rm -rf $slave -cleanup |