neutron/neutron/tests
Ihar Hrachyshka 38211ae67c tests: confirm that _output_hosts_file does not log too often
I3ad7864eeb2f959549ed356a1e34fa18804395cc didn't include any regression unit
tests to validate that the method won't ever log too often again,
reintroducing performance drop in later patches. It didn't play well
with stable backports of the fix, where context was lost when doing the
backport, that left the bug unfixed in stable/juno even though the patch
was merged there [1].

The patch adds an explicit note in the code that suggests not to add new
log messages inside the loop to avoid regression, and a unit test was
added to capture it.

Once the test is merged in master, it will be proposed for stable/juno
inclusion, with additional changes that would fix the regression again.

Related-Bug: #1414218
Change-Id: I5d43021932d6a994638c348eda277dd8337cf041
(cherry picked from commit 3b74095a93)
2015-04-23 11:21:15 +02:00
..
api Merge "Add API tests for subnet-create with subnetpool" 2015-04-03 23:34:24 +00:00
common Define bridge/port fixtures for OVS/LinuxBridge/Veth backends 2015-04-01 15:01:06 +00:00
contrib Remove check for bash usage 2015-04-07 15:15:33 +00:00
etc Reorganize unit test tree 2015-04-06 23:28:31 +00:00
fullstack Remove neutron.tests.sub_base 2015-03-27 18:04:47 +00:00
functional Fix intermittent UT failures in test_utils 2015-04-07 16:40:47 -07:00
retargetable Moving VLAN Transparency support from core to extension 2015-04-08 08:35:13 -07:00
tempest Move orphaned api test - deux 2015-04-01 20:45:12 -07:00
unit tests: confirm that _output_hosts_file does not log too often 2015-04-23 11:21:15 +02:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
base.py Fix functional test using local timeout value 2015-04-03 01:18:15 +00:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py Fix common misspellings 2015-03-24 11:44:15 +01:00