[ovs-git] [openvswitch/ovs] 884d9b: Simplify partial map Py3 IDL test added by commit ...

GitHub noreply at github.com
Mon Aug 15 03:20:12 UTC 2016

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 884d9bad71f56c4f3e4b5d7dd5e62d6fdb964ee1
  Author: Ryan Moats <rmoats at us.ibm.com>
  Date:   2016-08-14 (Sun, 14 Aug 2016)

  Changed paths:
    M tests/ovsdb-idl.at
    M tests/test-ovsdb.py

  Log Message:
  Simplify partial map Py3 IDL test added by commit a59912a0

Commit a59912a0 ("python: Add support for partial map
and partial set updates") added unit tests for the partial
map function for the python IDL.  However, because Python3
doesn't order dictionaries consistently, this
test is a crap shoot for systems that support Python3.

As a short term fix, do not use a dictionary with multiple
elements for the partial map test case.

Change-Id: Ibdec10ebd895051321b9bff7d9fe8a7e0bd9eb88
Signed-off-by: Ryan Moats <rmoats at us.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list