[Bugs] [Bug 1468432] tests: fix stats-dump.t failure

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 7 08:51:21 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1468432



--- Comment #5 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17721 committed in master by Raghavendra
Talur (rtalur at redhat.com) 
------
commit b0d8afa2d2861f1191c4139e9aa9d4ba67e83135
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Fri Jul 7 02:46:26 2017 +0530

    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 at redhat.com>
    Reviewed-on: https://review.gluster.org/17721
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Amar Tumballi <amarts at redhat.com>
    Reviewed-by: Raghavendra Talur <rtalur at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list