From df0ff94a64bd597e61f26a2a56297de7abf80a0f Mon Sep 17 00:00:00 2001 From: vmallika Date: Tue, 28 Oct 2014 12:25:43 +0530 Subject: glusterd/snapshot: Snapshot should be deactivated when it is created. By default snapshot should be deactivated and this should be a configurable option. This behaviour can be configured by the command below: gluster snapshot config activate-on-create Change-Id: I1911595c32beed43bb2fca4bf99f0d264b422513 BUG: 1170921 Signed-off-by: vmallika Reviewed-on: http://review.gluster.org/8985 Tested-by: Gluster Build System Reviewed-by: Avra Sengupta Reviewed-by: Rajesh Joseph Reviewed-by: Kaushal M Signed-off-by: Sachin Pandit Reviewed-on: http://review.gluster.org/9241 Reviewed-by: Raghavendra Bhat --- tests/basic/volume-snapshot.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/basic/volume-snapshot.t') diff --git a/tests/basic/volume-snapshot.t b/tests/basic/volume-snapshot.t index bb483850eeb..46440d1a706 100755 --- a/tests/basic/volume-snapshot.t +++ b/tests/basic/volume-snapshot.t @@ -86,6 +86,8 @@ start_volumes 2 EXPECT 'Started' volinfo_field $V0 'Status'; EXPECT 'Started' volinfo_field $V1 'Status'; +TEST $CLI_1 snapshot config activate-on-create enable + #Snapshot Operations create_snapshots -- cgit