summaryrefslogtreecommitdiffstats
path: root/tests/basic/tier/locked_file_migration.t
diff options
context:
space:
mode:
authorDan Lambright <dlambrig@redhat.com>2015-11-14 14:35:26 -0500
committerDan Lambright <dlambrig@redhat.com>2015-11-17 04:18:17 -0800
commitdcd1ff344d242f64f3a5c579df97a050736e6633 (patch)
tree140a70be4ec14cec7246481336e3cc75ec46fea1 /tests/basic/tier/locked_file_migration.t
parent38bfd4e43c42cbf2a8591b546b808c6ec811995f (diff)
cluster/tier make cache mode default for tiered volumes
The default mode for tiered volumes must be cache. The current test mode was for engineering and should ordinarily not be used by customers. Change-Id: I20583f54a9269ce75daade645be18ab8575b0b9b BUG: 1282076 Signed-off-by: Dan Lambright <dlambrig@redhat.com> Reviewed-on: http://review.gluster.org/12581 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: mohammed rafi kc <rkavunga@redhat.com>
Diffstat (limited to 'tests/basic/tier/locked_file_migration.t')
-rwxr-xr-xtests/basic/tier/locked_file_migration.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basic/tier/locked_file_migration.t b/tests/basic/tier/locked_file_migration.t
index 7a03d1e3d36..f7a9d1f355d 100755
--- a/tests/basic/tier/locked_file_migration.t
+++ b/tests/basic/tier/locked_file_migration.t
@@ -31,6 +31,7 @@ function create_dist_tier_vol () {
#We don't want promotes to happen in this test
TEST $CLI volume set $V0 cluster.read-freq-threshold 10
TEST $CLI volume set $V0 cluster.write-freq-threshold 10
+ TEST $CLI volume set $V0 cluster.tier-mode test
}