From aa1b166984657d53e68a2c4cbd16d2e46c12436b Mon Sep 17 00:00:00 2001 From: Atin Mukherjee Date: Fri, 21 Aug 2015 10:54:39 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/11972 Reviewed-by: Avra Sengupta Reviewed-by: Raghavendra Talur Tested-by: NetBSD Build System Tested-by: Gluster Build System --- tests/basic/volume-snapshot.t | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'tests/basic/volume-snapshot.t') 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 -- cgit