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

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 24 06:47:00 UTC 2015


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



--- Comment #16 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9728 committed in release-3.6 by Raghavendra
Bhat (raghavendra at redhat.com) 
------
commit a46325cd37806a8e9d1abbb121d4e854799042ae
Author: vmallika <vmallika at redhat.com>
Date:   Thu Feb 19 17:54:03 2015 +0530

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

    testcase uss.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

    Backport of http://review.gluster.org/#/c/9703/

    Change-Id: Id08ec47e39b12f956e266d30cc5327b5b70c2fb0
    Reviewed-on: http://review.gluster.org/9728
    BUG: 1165938
    Signed-off-by: vmallika <vmallika at redhat.com>
    Reviewed-by: Justin Clift <justin at gluster.org>
    Tested-by: Justin Clift <justin at gluster.org>
    Reviewed-by: Raghavendra Bhat <raghavendra 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