summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2018-05-24 11:02:53 +0530
committerPoornima G <pgurusid@redhat.com>2018-05-25 06:01:38 +0000
commit44d62baed46a41752b5379bc4095c0a8e20de32f (patch)
tree577820aba45c418dad412a657e7b24d6b0f3fa47 /tests/bugs
parente9e3699456e738635685c9f42d1c4206c6177510 (diff)
Fix a test case that can fail for certain builds
If certain builds have readdir-ahead disabled by default, the test case fails, as it asumes readdir-ahead is enabled by default. Hence explicitly enabling readdir-ahead. Change-Id: Ib5bef266707c2c557aeb2cf2ffbf4d0c92025c46 fixes: bz#1582051 Signed-off-by: Poornima G <pgurusid@redhat.com>
Diffstat (limited to 'tests/bugs')
-rwxr-xr-xtests/bugs/readdir-ahead/bug-1439640.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bugs/readdir-ahead/bug-1439640.t b/tests/bugs/readdir-ahead/bug-1439640.t
index cc6c829fccc..dcd54076444 100755
--- a/tests/bugs/readdir-ahead/bug-1439640.t
+++ b/tests/bugs/readdir-ahead/bug-1439640.t
@@ -8,6 +8,7 @@ cleanup;
TEST glusterd
TEST $CLI volume create $V0 $H0:$B{0..1}/$V0
+TEST $CLI volume set $V0 readdir-ahead on
TEST $CLI volume start $V0
TEST ! $CLI volume set $V0 parallel-readdir sdf