The fix for memory leakage in the related bug added a check for plugin
deallocation that performed a call to gc.collect() after every test.
This had the side-effect of increasing test execution time by ~50%, so
this patch makes the check optional via an environment variable
(OS_CHECK_PLUGIN_DEALLOCATION).
It may make sense to create a periodic job that runs with the check
enabled, but otherwise the check can be used by developers for
debugging purposes.
Reviewed: https:/ /review. openstack. org/93140 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=ee5c3b0bb60 918a7e59e89ceff bafa2f683b74fd
Committed: https:/
Submitter: Jenkins
Branch: master
commit ee5c3b0bb60918a 7e59e89ceffbafa 2f683b74fd
Author: Maru Newby <email address hidden>
Date: Fri May 9 22:24:45 2014 +0000
Make plugin deallocation check optional
The fix for memory leakage in the related bug added a check for plugin CHECK_PLUGIN_ DEALLOCATION) .
deallocation that performed a call to gc.collect() after every test.
This had the side-effect of increasing test execution time by ~50%, so
this patch makes the check optional via an environment variable
(OS_
It may make sense to create a periodic job that runs with the check
enabled, but otherwise the check can be used by developers for
debugging purposes.
Change-Id: I9ebe663abbc4e4 ff3a62d807d5a32 30c2ecccd07
Related-Bug: #1234857