From 75474f148daada475c235d0acaf345acad4ba9f3 Mon Sep 17 00:00:00 2001 From: Sachin Pandit Date: Thu, 13 Nov 2014 03:57:57 +0530 Subject: test/uss : activate the snapshot after creating. Till now we were activating the snapshot along with the snapshot create. But one of the recent patches has changed that behavior. Now we have to explicitly issue activate-on-create using snapshot config if we want snapshot to be activated during snapshot create. Till patch fixes the regression failure which is seen lately. Change-Id: Ic53b16e22569e521bd70dd3bfa7154a0424151ce BUG: 1155042 Signed-off-by: Sachin Pandit Reviewed-on: http://review.gluster.org/9113 Reviewed-by: Rajesh Joseph Reviewed-by: Meghana M Tested-by: Gluster Build System Reviewed-by: Kaushal M --- tests/bugs/bug-1155042-dont-display-deactivated-snapshots.t | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/bugs/bug-1155042-dont-display-deactivated-snapshots.t b/tests/bugs/bug-1155042-dont-display-deactivated-snapshots.t index 34c068f6713..63ad3d754d8 100644 --- a/tests/bugs/bug-1155042-dont-display-deactivated-snapshots.t +++ b/tests/bugs/bug-1155042-dont-display-deactivated-snapshots.t @@ -19,6 +19,7 @@ TEST $GFS --volfile-server=$H0 --volfile-id=$V0 $M0 # create 10 snapshots and check if all are being reflected # in the USS world +gluster snapshot config activate-on-create enable for i in {1..10}; do $CLI snapshot create snap$i $V0; done EXPECT 10 uss_count_snap_displayed $M0 -- cgit