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

bugzilla at redhat.com bugzilla at redhat.com
Thu May 28 09:34:34 UTC 2015


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



--- Comment #10 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10941 committed in release-3.7 by Vijay
Bellur (vbellur at redhat.com) 
------
commit 2b8fdde926532014f19d850b1321a4c7046dc001
Author: Vijay Bellur <vbellur at redhat.com>
Date:   Wed May 27 16:59:19 2015 +0530

    tests: Await for graph switch before testing open fop count

    In performance/open-behind.t, a test for open fop reaching the brick is
done by
    switching off open-behind and performing a read operation. If the read
operation
    is performed before a graph switch, the read happens on the old graph and
hence
    open does not get accounted in the brick.

    To overcome this EXPECT_WITHIN 10 seconds has now been added to ensure that
a
    graph switch has happened. The read operation happens subsequently after
the
    graph switch.

    Cleaned up a "No volumes present" message from stderr while doing this.

    Change-Id: I05f7cbfd1ce51782f5ab778468a980d3732509a2
    BUG: 1225077
    Signed-off-by: Vijay Bellur <vbellur at redhat.com>
    Reviewed-on: http://review.gluster.org/10941
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System
    Reviewed-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