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

bugzilla at redhat.com bugzilla at redhat.com
Fri Feb 20 12:08:41 UTC 2015


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



--- Comment #54 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9703 committed in master by Krishnan
Parthasarathi (kparthas at redhat.com) 
------
commit df9f1cd96854c82338c62897d788319b560e43ad
Author: vmallika <vmallika at redhat.com>
Date:   Thu Feb 19 17:54:03 2015 +0530

    Fix for test usst.t and
bug-1167580-set-proper-uid-and-gid-during-nfs-access.t

    testcase usst.t and
    bug-1167580-set-proper-uid-and-gid-during-nfs-access.t
    uses below method to generate random string
    cat /dev/urandom | tr -dc 'a-zA-Z' | fold -w 8 | head -n 1

    Doing a cat on /dev/urandom can consume more CPU usage.

    Change to:
    uuidgen | tr -dc 'a-zA-Z' | head -c 8

    Change-Id: I9cb562557ae860026fb5e140ed9b5e297b4428d9
    BUG: 1163543
    Signed-off-by: vmallika <vmallika at redhat.com>
    Reviewed-on: http://review.gluster.org/9703
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>
    Tested-by: Krishnan Parthasarathi <kparthas 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