summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2013-07-23 14:06:56 +0530
committerAnand Avati <avati@redhat.com>2013-07-23 03:37:54 -0700
commitcee1f9b5c7917bba220f1156b342bf07cac4ad38 (patch)
tree239ef5b4ecc989472a9b3ac922c5c9d73f8b3dbd
parent50cfc2d8e814ec649283bbd058eebd779d213d4d (diff)
tests: Avoid timing delays caused by fsync
Change-Id: I2da53dd14d7352bdc878fce5a9019a955e150ce9 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/5377 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--tests/bugs/bug-861015-index.t1
-rw-r--r--tests/bugs/bug-895235.t1
-rw-r--r--tests/bugs/bug-966018.t1
-rw-r--r--tests/bugs/bug-976800.t1
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/bugs/bug-861015-index.t b/tests/bugs/bug-861015-index.t
index 15758badf40..4b148e6ccc5 100644
--- a/tests/bugs/bug-861015-index.t
+++ b/tests/bugs/bug-861015-index.t
@@ -8,6 +8,7 @@ cleanup;
TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1,2,3,4,5}
+TEST $CLI volume set $V0 ensure-durability off
TEST $CLI volume start $V0
EXPECT_WITHIN 20 "Y" glustershd_up_status
TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 --attribute-timeout=0 --entry-timeout=0
diff --git a/tests/bugs/bug-895235.t b/tests/bugs/bug-895235.t
index b0a92c92f2b..0764b50d4e4 100644
--- a/tests/bugs/bug-895235.t
+++ b/tests/bugs/bug-895235.t
@@ -8,6 +8,7 @@ TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1}
+TEST $CLI volume set $V0 ensure-durability off
TEST $CLI volume set $V0 performance.write-behind off
TEST $CLI volume set $V0 cluster.eager-lock off
TEST $CLI volume start $V0
diff --git a/tests/bugs/bug-966018.t b/tests/bugs/bug-966018.t
index f29690a1a03..2a46972413f 100644
--- a/tests/bugs/bug-966018.t
+++ b/tests/bugs/bug-966018.t
@@ -12,6 +12,7 @@ TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 replica 2 $H0:$B0/r2_0 $H0:$B0/r2_1
+TEST $CLI volume set $V0 ensure-durability off
TEST $CLI volume set $V0 cluster.eager-lock on
TEST $CLI volume set $V0 cluster.post-op-delay-secs 3
diff --git a/tests/bugs/bug-976800.t b/tests/bugs/bug-976800.t
index 9557630db21..2aee8cc1128 100644
--- a/tests/bugs/bug-976800.t
+++ b/tests/bugs/bug-976800.t
@@ -19,6 +19,7 @@ function is_fd_open {
TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1}
+TEST $CLI volume set $V0 ensure-durability off
TEST $CLI volume set $V0 eager-lock off
TEST $CLI volume start $V0
TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 --attribute-timeout=0 --entry-timeout=0