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>
This commit is contained in:
parent
50cfc2d8e8
commit
cee1f9b5c7
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user