[Bugs] [Bug 1163543] Fix regression test spurious failures

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 31 06:41:33 UTC 2015


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



--- Comment #79 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9948 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit d3eacb0d83834db485061d875d95b4f6af41f30a
Author: Jeff Darcy <jdarcy at redhat.com>
Date:   Thu Mar 19 15:15:07 2015 -0400

    tests: fix online_brick_count

    It turns out that "pidof" is unreliable on some platforms (e.g. Fedora
    21) because it will show spurious entries for processes using the same
    inode under a different name.  Use "pgrep" instead because it's
    name-based and doesn't get confused by glusterd/glusterfs being links
    to glusterfsd.

    Also changed bug-913555.t because it had the same mistake in its own
    version of the same function.  Now it uses the common version.

    Change-Id: I5d70edd5655faa5470e0f378b8c16a6adacbd4b4
    BUG: 1163543
    Signed-off-by: Jeff Darcy <jdarcy at redhat.com>
    Reviewed-on: http://review.gluster.org/9948
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur 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