The test methods in the test class create networks and the cleanup
takes place after all tests are run. As such installation specific
default quota (that was e.g. just 10 networks till Pike) may be hit and
tests then fail.
This patch reduces the chance that the quota limit is not hit by
speeding up network resource cleanup (doing it after each test case
completed, not when the whole test class is cleaned up).
Change-Id: I6ba2704c60c77d89e00842e28bece14c64ef98a6
Closes-bug: #1671478
(cherry picked from commit d0af6d736f9078aa124607ee52e10ff96c09eea8)
Reviewed: https:/ /review. openstack. org/450577 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=a322266ddc5 b01295610dfd469 161a1fa186dce2
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit a322266ddc5b012 95610dfd469161a 1fa186dce2
Author: Prateek Arora <email address hidden>
Date: Mon Mar 27 11:30:47 2017 -0400
Fix Quota error while running tests
The test methods in the test class create networks and the cleanup
takes place after all tests are run. As such installation specific
default quota (that was e.g. just 10 networks till Pike) may be hit and
tests then fail.
This patch reduces the chance that the quota limit is not hit by
speeding up network resource cleanup (doing it after each test case
completed, not when the whole test class is cleaned up).
Change-Id: I6ba2704c60c77d 89e00842e28bece 14c64ef98a6 a124607ee52e10f f96c09eea8)
Closes-bug: #1671478
(cherry picked from commit d0af6d736f9078a