[ovs-dev] [PATCH] tests: Fix occasional failure of "self-linking idl, inconsistent ops" test.

Jesse Gross jesse at nicira.com
Wed Jun 23 01:10:50 UTC 2010


On Tue, Jun 22, 2010 at 2:48 PM, Ben Pfaff <blp at nicira.com> wrote:

> This test is nondeterministic: depending on the ordering of the random
> row UUIDs, the error message might mention one of two different nonexistent
> rows that are referenced.  This commit fixes the problem by accepting
> either one of the two correct rows.
>
> Previous related fixes took a different approach, of instead making the
> test deterministic.  But now I think that that is not as good an idea,
> because we need to be able to test that OVSDB works whether the query is
> deterministic or not.
>
> (Of course, every OVSDB test is nondeterministic, since the UUIDs are
> random.  This test was just more nondeterministic than most.)
>

If it works consistently, it looks fine.  It seems like this problem started
happening fairly recently.  Do you know what triggered it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20100622/6a37e0f6/attachment-0003.html>


More information about the dev mailing list