From 116419f3cb7b5711b0881428c2deda829b43e782 Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Tue, 15 Mar 2016 14:21:18 +0530 Subject: md-cache: Cache gluster-swift metadata > BUG: 1317785 > Change-Id: Ie02b8fc294802f8fdf49dee8bf97f1e6177d92bd > Signed-off-by: Prashanth Pai > Reviewed-on: http://review.gluster.org/13735 > Smoke: Gluster Build System > Reviewed-by: Poornima G > NetBSD-regression: NetBSD Build System > CentOS-regression: Gluster Build System > Reviewed-by: Niels de Vos > Reviewed-by: Gaurav Kumar Garg BUG: 1317788 Change-Id: I86efca6a829cdda70ec7ed7fe0a16b73c25888c3 Signed-off-by: Prashanth Pai Reviewed-on: http://review.gluster.org/13753 NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Niels de Vos Smoke: Gluster Build System --- tests/bugs/fuse/bug-1317785.t | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/bugs/fuse/bug-1317785.t (limited to 'tests/bugs') diff --git a/tests/bugs/fuse/bug-1317785.t b/tests/bugs/fuse/bug-1317785.t new file mode 100644 index 00000000000..87c65405537 --- /dev/null +++ b/tests/bugs/fuse/bug-1317785.t @@ -0,0 +1,22 @@ +#!/bin/bash + +. $(dirname $0)/../../include.rc +. $(dirname $0)/../../volume.rc + +cleanup; + +TEST glusterd + +TEST $CLI volume create $V0 $H0:$B0/$V0 +TEST $CLI volume start $V0 + +TEST $CLI volume set $V0 cache-swift-metadata on +EXPECT 'on' volinfo_field $V0 'performance.cache-swift-metadata' + +TEST $CLI volume set $V0 cache-swift-metadata off +EXPECT 'off' volinfo_field $V0 'performance.cache-swift-metadata' + +TEST $CLI volume stop $V0 +TEST $CLI volume delete $V0 + +cleanup; -- cgit