summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2013-02-19 15:35:17 +0530
committerAnand Avati <avati@redhat.com>2013-02-19 16:09:07 -0800
commit2c8e3bcb4fc2e587762fc633525eb9c36257adec (patch)
tree17aa1003c422aa97ad26a94c6dd013e1d606c784
parentf0bfbbd0f260fe898cd901b0ac0a6a805b33800c (diff)
Tests: Disable open-behind
Test assumes that open on the mount point opens the files on bricks right away. Change-Id: I94aae857515792e9b694723d30bb085f9e703745 BUG: 821056 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/4540 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--tests/bugs/bug-821056.t1
-rwxr-xr-xtests/bugs/bug-908146.t1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/bugs/bug-821056.t b/tests/bugs/bug-821056.t
index ee4463e2cc1..9265ba7a46a 100644
--- a/tests/bugs/bug-821056.t
+++ b/tests/bugs/bug-821056.t
@@ -10,6 +10,7 @@ TEST pidof glusterd
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1}
TEST $CLI volume set $V0 cluster.self-heal-daemon off
TEST $CLI volume set $V0 performance.quick-read off
+TEST $CLI volume set $V0 performance.open-behind off
TEST $CLI volume set $V0 performance.io-cache off
TEST $CLI volume set $V0 performance.write-behind off
TEST $CLI volume set $V0 performance.stat-prefetch off
diff --git a/tests/bugs/bug-908146.t b/tests/bugs/bug-908146.t
index 34ab49b2224..6ec0334ea0c 100755
--- a/tests/bugs/bug-908146.t
+++ b/tests/bugs/bug-908146.t
@@ -19,6 +19,7 @@ cleanup;
TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 $H0:$B0/${V0}0
+TEST $CLI volume set $V0 performance.open-behind off
TEST $CLI volume start $V0
TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 --attribute-timeout=0 --entry-timeout=0 --direct-io-mode=enable
TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M1 --attribute-timeout=0 --entry-timeout=0 --direct-io-mode=enable