diff options
author | Vijaikumar M <vmallika@redhat.com> | 2014-02-13 16:32:12 +0530 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2014-02-13 06:18:15 -0800 |
commit | 96f6c5159da92500e8ddb21a487d2848a2b1f7db (patch) | |
tree | 173aadb72ff76d27ef6589a2ed1eed5c5220abff /tests/basic/volume-snapshot.t | |
parent | a6351ee1c823a295f592f4adf5876a6166d47afe (diff) |
glusterd/snapshot: Use snap uuid to create lvm snapshot
Using snap uuid to create lvm snapshot will solve the problem of having
'-' in the snap name or snap name is too long.
Change-Id: If204f02a8f5de599fb409d06c7893ef3542a6300
BUG: 1045333
Signed-off-by: Vijaikumar M <vmallika@redhat.com>
Reviewed-on: http://review.gluster.org/6709
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Tested-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'tests/basic/volume-snapshot.t')
-rwxr-xr-x | tests/basic/volume-snapshot.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/basic/volume-snapshot.t b/tests/basic/volume-snapshot.t index 2030efc05..bb7dcb458 100755 --- a/tests/basic/volume-snapshot.t +++ b/tests/basic/volume-snapshot.t @@ -62,6 +62,11 @@ TEST snapshot_exists ${V1}_snap TEST $CLI_1 snapshot config $V0 snap-max-hard-limit 100 TEST $CLI_1 snapshot config $V1 snap-max-hard-limit 100 +TEST mount -t glusterfs $H1:/$V0/snaps/${V0}_snap $M0 +TEST umount -f $M0 +TEST mount -t glusterfs $H2:/$V1/snaps/${V1}_snap $M0 +TEST umount -f $M0 + #Clean up delete_snapshots TEST ! snapshot_exists ${V0}_snap |