summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2017-06-09 11:31:19 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2017-06-12 03:52:16 +0000
commit38780ff2d0717cd800a49072879a664b04385fd1 (patch)
treee832299e080d0fec743a3bb9dacb297f659e9d9a /tests
parent801697cc08928660a8087d08122a3aed622f6790 (diff)
nl-cache: add group volume set option for ease of use
Change-Id: Id03643a9598da53051a01ca09e1d2a62bc195ab6 Signed-off-by: Poornima G <pgurusid@redhat.com> Reviewed-on: https://review.gluster.org/17495 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/basic/nl-cache.t9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/basic/nl-cache.t b/tests/basic/nl-cache.t
index ddd4e257dc9..f61532879b2 100755
--- a/tests/basic/nl-cache.t
+++ b/tests/basic/nl-cache.t
@@ -10,9 +10,12 @@ TEST glusterd
TEST $CLI volume create $V0 $H0:$B0/${V0}{0..4}
EXPECT 'Created' volinfo_field $V0 'Status'
-TEST $CLI volume set $V0 performance.nl-cache on
-TEST $CLI volume set $V0 features.cache-invalidation on
-TEST $CLI volume set $V0 features.cache-invalidation-timeout 600
+TEST $CLI volume set $V0 group nl-cache
+EXPECT '600' volinfo_field $V0 'performance.nl-cache-timeout'
+EXPECT 'on' volinfo_field $V0 'performance.nl-cache'
+EXPECT '600' volinfo_field $V0 'features.cache-invalidation-timeout'
+EXPECT 'on' volinfo_field $V0 'features.cache-invalidation'
+EXPECT '50000' volinfo_field $V0 'network.inode-lru-limit'
TEST $CLI volume start $V0;
EXPECT 'Started' volinfo_field $V0 'Status';