← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1679775] Re: test_network_list_queries_constant fails with testtools.matchers._impl.MismatchError: 28 != 13

 

Reviewed:  https://review.openstack.org/457515
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=9c4395965158e066becdb84cf30ea5f0e63e7cbc
Submitter: Jenkins
Branch:    master

commit 9c4395965158e066becdb84cf30ea5f0e63e7cbc
Author: Kevin Benton <kevin@xxxxxxxxxx>
Date:   Tue Apr 18 01:27:37 2017 -0700

    Stop loading OVOServerRpcInterface in ML2 testcase
    
    This RPC notifier has an asynchronous handler that does DB lookups
    to send notifications after an object has been created. Not only
    is this a waste of resources in unit tests, it interferes with tests
    that are inspecting the DB queries that occur between calls.
    
    This just blocks the OVOServerRpcInterface in the ML2 test case and
    then enables it for the set of unit tests that needs it.
    
    Change-Id: I807e2445da9be241c24d8b6e5bda8b12927aa7fc
    Closes-Bug: #1679775


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1679775

Title:
  test_network_list_queries_constant fails with
  testtools.matchers._impl.MismatchError: 28 != 13

Status in neutron:
  Fix Released

Bug description:
  Traceback (most recent call last):
    File "/home/jenkins/workspace/gate-neutron-python35/neutron/tests/base.py", line 116, in func
      return f(self, *args, **kwargs)
    File "/home/jenkins/workspace/gate-neutron-python35/neutron/tests/unit/plugins/ml2/test_plugin.py", line 595, in test_network_list_queries_constant
      'networks')
    File "/home/jenkins/workspace/gate-neutron-python35/neutron/tests/unit/db/test_db_base_plugin_v2.py", line 6578, in _assert_object_list_queries_constant
      self.assertEqual(before_count, after_count)
    File "/home/jenkins/workspace/gate-neutron-python35/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 411, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/home/jenkins/workspace/gate-neutron-python35/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 498, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: 28 != 13

  logs.openstack.org/12/453212/1/check/gate-neutron-
  python35/53142ce/testr_results.html.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1679775/+subscriptions


References