← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1174457] Re: Quota checks in test_extension_pnet not circumvented properly

 

** Changed in: quantum
       Status: Fix Committed => Fix Released

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

Title:
  Quota checks in test_extension_pnet not circumvented properly

Status in OpenStack Quantum (virtual network service):
  Fix Released

Bug description:
  We had reports that in some cases the just merged unit tests fail.
  This is because the plugin is mocked, so at the end of the day get_networks_counts is a mock call, and it gets converted to int in the quota checks.

  In some instance, it might return a negative value, leading the InvalidQuotaValue being raised.
  The function's return value should be correctly patched.

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