summaryrefslogtreecommitdiffstats
path: root/tests/basic/volume-snapshot.t
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2015-08-21 10:54:39 +0530
committerRaghavendra Talur <rtalur@redhat.com>2015-08-21 02:22:46 -0700
commitaa1b166984657d53e68a2c4cbd16d2e46c12436b (patch)
tree54c99904bb710d3317a945c8c8ed8b6449827e60 /tests/basic/volume-snapshot.t
parentb9e87f39386fc9c591c7698357c2899afc255b95 (diff)
tests: remove unwanted tests from volume-snapshot.t
volume-snapshot.t failspuriously because of having additional test cases which restarts glusterd and they are really not needed as far as the test coverage is concerned. Currently glusterd doesn't have a mechanism to indicate that volumes handshaking has been completed or not, due to this even if the peer handshaking finishes and all the peers are back to the cluster there could be a case where any command which accesses the volume structure might end up in corruption as volume handshaking is still in progress. This is because of volume list is still not been made URCU protected. Change-Id: Id8669c22584384f988be5e0a5a0deca7708a277d BUG: 1255599 Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: http://review.gluster.org/11972 Reviewed-by: Avra Sengupta <asengupt@redhat.com> Reviewed-by: Raghavendra Talur <rtalur@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests/basic/volume-snapshot.t')
-rwxr-xr-xtests/basic/volume-snapshot.t12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/basic/volume-snapshot.t b/tests/basic/volume-snapshot.t
index a5e6d2d1b56..794ab4944b0 100755
--- a/tests/basic/volume-snapshot.t
+++ b/tests/basic/volume-snapshot.t
@@ -114,20 +114,8 @@ activate_snapshots
EXPECT 'Started' snapshot_status ${V0}_snap;
EXPECT 'Started' snapshot_status ${V1}_snap;
-#testing handshake with glusterd (bugid:1122064)
-
-TEST kill_glusterd 2
deactivate_snapshots
-TEST start_glusterd 2
-#Wait for glusterd handsahke complete/check status of cluster.
-EXPECT_WITHIN $PROBE_TIMEOUT 2 peer_count
-EXPECT_WITHIN $PROCESS_UP_TIMEOUT "Success" snapshot_snap_status ${V0}_snap "Brick\ Running" "No"
-TEST kill_glusterd 2
activate_snapshots
-TEST start_glusterd 2
-#Wait for glusterd handsahke complete/check status of cluster.
-EXPECT_WITHIN $PROBE_TIMEOUT 2 peer_count
-EXPECT_WITHIN $PROCESS_UP_TIMEOUT "Success" snapshot_snap_status ${V0}_snap "Brick\ Running" "Yes"
TEST snapshot_exists 1 ${V0}_snap
TEST snapshot_exists 1 ${V1}_snap