Quota checks in test_extension_pnet not circumvented properly
Bug #1174457 reported by
Salvatore Orlando
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Salvatore Orlando |
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.
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/27738
Review: https:/