summaryrefslogtreecommitdiffstats
path: root/tests/basic/afr/entry-self-heal.t
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2014-11-26 11:40:15 +0100
committerPranith Kumar Karampuri <pkarampu@redhat.com>2014-12-04 04:03:58 -0800
commit1eb11c7ca1eb153c579a127b0fe6c2d4b1bbc7c8 (patch)
treef09e6c6dc7d408e6380eb36a46e5fdd4ec18a10f /tests/basic/afr/entry-self-heal.t
parentae744a27602488239ef681510412d0c64607a87f (diff)
downloadglusterfs-1eb11c7ca1eb153c579a127b0fe6c2d4b1bbc7c8.tar.gz
glusterfs-1eb11c7ca1eb153c579a127b0fe6c2d4b1bbc7c8.tar.xz
glusterfs-1eb11c7ca1eb153c579a127b0fe6c2d4b1bbc7c8.zip
Regression test portability: basic/afr/resolve.t
Final test in basic/afr/resolve.t checks for a failure after breaking the backend. But since the tested file was accessed just before that operations, it may still be in kernel page cache. As a result, file read is handled by kernel cache and never sent to the filesystem, and the test is successful where it should have failed. Fix this by waiting 10s before reading the supposed-to-be-broken file. BUG: 1129939 Change-Id: I97efc00bc8a5f954b1df786cdede468af8bf6485 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/9075 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'tests/basic/afr/entry-self-heal.t')
0 files changed, 0 insertions, 0 deletions