summaryrefslogtreecommitdiffstats
path: root/tests/basic/ec
diff options
context:
space:
mode:
authorXavier Hernandez <xhernandez@datalab.es>2016-03-02 11:35:44 +0100
committerJeff Darcy <jdarcy@redhat.com>2016-03-04 07:47:56 -0800
commitbf80b9005240811d931090afcfee8ca0b02f8212 (patch)
treea6d53dc5bd9cca4926a4195f1f3a6354287ea06c /tests/basic/ec
parente6a29ab2947eba3ee12ba3a94d4f04c41a22b5a4 (diff)
tests: Fix spurious failure of ec-read-policy.t
Change-Id: I5297e24dd10cbfbcd671fe630ae3e960b9daa8f8 BUG: 1313775 Signed-off-by: Xavier Hernandez <xhernandez@datalab.es> Reviewed-on: http://review.gluster.org/13575 Tested-by: Raghavendra Talur <rtalur@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'tests/basic/ec')
-rw-r--r--tests/basic/ec/ec-read-policy.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/ec/ec-read-policy.t b/tests/basic/ec/ec-read-policy.t
index 4a85bf6ac53..e4390aa07cb 100644
--- a/tests/basic/ec/ec-read-policy.t
+++ b/tests/basic/ec/ec-read-policy.t
@@ -47,7 +47,7 @@ EXPECT_WITHIN $CONFIG_UPDATE_TIMEOUT "gfid-hash" mount_get_option_value $M0 $V0-
#Perform reads now from file on the mount, this only tests dispatch_min
TEST dd if=$M0/1 of=/dev/null bs=1M count=4
#TEST that reads are executed on all bricks
-gh_reads=$($CLI volume profile $V0 info cumulative| grep READ | wc -l)
+gh_reads=$($CLI volume profile $V0 info cumulative| grep -w READ | wc -l)
EXPECT "^4$" echo $gh_reads
cleanup;