summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-1155042-dont-display-deactivated-snapshots.t
diff options
context:
space:
mode:
authorSachin Pandit <spandit@redhat.com>2014-11-13 03:57:57 +0530
committerKaushal M <kaushal@redhat.com>2014-11-13 01:19:05 -0800
commit75474f148daada475c235d0acaf345acad4ba9f3 (patch)
tree548959cb9789ab25918453ed550e87feebdb87b7 /tests/bugs/bug-1155042-dont-display-deactivated-snapshots.t
parentb6c553339ca0d14dc8d66ccc5d8d8db2be1dd14f (diff)
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 <spandit@redhat.com> Reviewed-on: http://review.gluster.org/9113 Reviewed-by: Rajesh Joseph <rjoseph@redhat.com> Reviewed-by: Meghana M <mmadhusu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'tests/bugs/bug-1155042-dont-display-deactivated-snapshots.t')
-rw-r--r--tests/bugs/bug-1155042-dont-display-deactivated-snapshots.t1
1 files changed, 1 insertions, 0 deletions
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