diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2013-02-19 15:35:17 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-02-19 16:09:07 -0800 |
commit | 2c8e3bcb4fc2e587762fc633525eb9c36257adec (patch) | |
tree | 17aa1003c422aa97ad26a94c6dd013e1d606c784 /tests | |
parent | f0bfbbd0f260fe898cd901b0ac0a6a805b33800c (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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs/bug-821056.t | 1 | ||||
-rwxr-xr-x | tests/bugs/bug-908146.t | 1 |
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 |