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

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 13 07:36:41 UTC 2015


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



--- Comment #22 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9850 committed in release-3.6 by Raghavendra
Bhat (raghavendra at redhat.com) 
------
commit 263e23c52fb66b218d85254dcb2b54ab51832ba4
Author: Sachin Pandit <spandit at redhat.com>
Date:   Tue Mar 10 10:19:51 2015 +0530

    tests : Fix spurious failure in uss.t.

    Problem : When we change the USS working directory, the
    change is reflected in the volfile. So whenever snapd
    tries to fetch the current USS directory there is some delay
    and because of that if any lookup operation comes at that time
    on new USS directory there might be chances of failure.

    Solution : Check whether the directory exits in "EXPECT_WITHIN"
    as we can check few time if change is getting reflected.


    ==================================================
    ok 84
    ok 85
    ok 86
    ok 87
    ls: cannot access /mnt/glusterfs/0/.history: No such file or directory
    not ok 88
    FAILED COMMAND: ls /mnt/glusterfs/0/.history
    ok 89
    ok 90
    ok 91
    ok 92
    ok 93
    ===================================================

    Change-Id: Id739a929198829d9980ee4af44248c9e426caabe
    BUG: 1165938
    Signed-off-by: Sachin Pandit <spandit at redhat.com>
    Reviewed-on: http://review.gluster.org/9850
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    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