diff options
Diffstat (limited to 'tests/basic/nl-cache.t')
-rwxr-xr-x | tests/basic/nl-cache.t | 9 |
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'; |