diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-05-01 21:51:09 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-05-05 23:02:17 -0700 |
commit | 94e5f4bf6555fd102dcc15e3b91685d7728cd064 (patch) | |
tree | 38d7e9d610c8b433e9b0313040b525f986e62e21 /tests/bugs/core | |
parent | 044adf7becfcb5ad5f2d9cf5f9922930d355c510 (diff) |
tests: Fix spurious failures
Backport of: http://review.gluster.org/10480
http://review.gluster.org/10487
http://review.gluster.org/10488
http://review.gluster.com/10540
- Use REBALANCE_TIMEOUT in EXPECT_WITHIN
- Use fdatasync to prevent write - behind from giving success
- Add logfile to glupy
- Check aux umount is unmounted for quota tests
- Disable flush behind so that file will be closed
Change-Id: Ia2447176273557738b7a71cc25dd9b9effc16d58
BUG: 1218485
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/10543
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/bugs/core')
-rwxr-xr-x | tests/bugs/core/bug-908146.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bugs/core/bug-908146.t b/tests/bugs/core/bug-908146.t index 8b519ff2fff..bf34992fee5 100755 --- a/tests/bugs/core/bug-908146.t +++ b/tests/bugs/core/bug-908146.t @@ -20,6 +20,7 @@ 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 set $V0 performance.flush-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 |