From cee1f9b5c7917bba220f1156b342bf07cac4ad38 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 23 Jul 2013 14:06:56 +0530 Subject: tests: Avoid timing delays caused by fsync Change-Id: I2da53dd14d7352bdc878fce5a9019a955e150ce9 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/5377 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- tests/bugs/bug-861015-index.t | 1 + tests/bugs/bug-895235.t | 1 + tests/bugs/bug-966018.t | 1 + tests/bugs/bug-976800.t | 1 + 4 files changed, 4 insertions(+) (limited to 'tests/bugs') diff --git a/tests/bugs/bug-861015-index.t b/tests/bugs/bug-861015-index.t index 15758bad..4b148e6c 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 b0a92c92..0764b50d 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 f29690a1..2a469724 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 9557630d..2aee8cc1 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 -- cgit