diff options
author | Ravishankar N <ravishankar@redhat.com> | 2017-07-07 02:46:26 +0530 |
---|---|---|
committer | Raghavendra Talur <rtalur@redhat.com> | 2017-07-10 14:32:25 +0000 |
commit | b0d8afa2d2861f1191c4139e9aa9d4ba67e83135 (patch) | |
tree | 74eef5e7c358ca8f8c395572f6bed46de55f7784 /doc | |
parent | f28b5d1007644749761fd374d951b72ace2e203e (diff) |
tests: fix stats-dump.t failure
Since https://review.gluster.org/#/c/17452, the statistics are appended
to the same file instead of overwritten over the previous stats. This
was causing the .t to fail since it checks for only the presence of a
non zero aggr.fop.write.count assuming the latest statistics will
overwrite the previous ones.
Fix it by checking for that the latest value of aggr.fop.write.count is
non zero.
Change-Id: I858011f343966a5d1c19d66dcc64b8cd26315df7
BUG: 1468432
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: https://review.gluster.org/17721
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions