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

bugzilla at redhat.com bugzilla at redhat.com
Wed May 6 09:34:43 UTC 2015


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



--- Comment #102 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10557 committed in release-3.7 by Vijay
Bellur (vbellur at redhat.com) 
------
commit 0758307635ec429e8d0081df2acea8c14478cc53
Author: Jeff Darcy <jdarcy at redhat.com>
Date:   Mon May 4 17:49:16 2015 -0400

    tests: fix failures due to not unmounting $M2 (/mnt/glusterfs/2)

    Our failure to unmount meant that both mkdir and rmdir would fail in
    cleanup().  Because one of those mkdirs was the last thing cleanup()
    executed, it would fail, so the test would fail, so the entire
    regression run would fail.  The fix has two parts.

    (1) Unmount the offending directory.

    (2) Make sure cleanup() returns success even if that last mkdir
        failed.

    That might keep us from consistently blowing up regression runs on the
    very first tests (basic/afr/data-self-heal.t) that we execute.

    Change-Id: I7a9761bd28761a5ee2face3db8112e9c3f6c5dc8
    BUG: 1163543
    Signed-off-by: Jeff Darcy <jdarcy at redhat.com>
    Reviewed-on: http://review.gluster.org/10536
    Reviewed-by: Justin Clift <justin at gluster.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-on: http://review.gluster.org/10557
    Tested-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