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>
This commit is contained in:
Xavier Hernandez 2016-03-02 11:35:44 +01:00 committed by Jeff Darcy
parent e6a29ab294
commit bf80b90052

View File

@ -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;