OpenStack Networking (Neutron)
Go to file
Slawek Kaplonski 7bb1bbba36 Fix race in test_keepalived_state_change_notification
In case if initial keepalived status find in
keepalived_state_change.MonitorDaemon is "master"
this test_keepalived_state_change_notification was failing
because there was 4 calls to the mocked enqueue_state_change()
method instead of 3.

This patch changes test to wait until 3 or 4 calls to this
method will be counted and it also changes assertions of
what state should be set on which call.
Before the patch test was expecting that calls are always like:
backup, master, backup
but if there are 4 calls it is like: backup, master, master, backup.
As it doesn't matter if there was one or two calls with "master"
state, test will now assert that the last call is always with
"backup" state.

Change-Id: I78c30ab32ffda37176a9c71348d83e17ab2c972a
Closes-Bug: #1836565
2019-07-15 13:03:30 +02:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00
devstack Switch to use configure_keystone_authtoken_middleware in devstack plugin 2019-07-01 13:50:33 +02:00
doc Blacklist sphinx 2.1.0 (autodoc bug) 2019-07-01 14:51:21 +08:00
etc Merge "Remove rootwrap filters for TC commands in Linux Bridge" 2019-07-09 13:43:00 +00:00
neutron Fix race in test_keepalived_state_change_notification 2019-07-15 13:03:30 +02:00
playbooks OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
rally-jobs Rally task definition for port binding scenario 2019-07-08 13:25:46 +02:00
releasenotes Remove the l2pop agent_boot_time config 2019-07-10 19:34:25 +00:00
roles Add "project_name" variable to configure_functional_tests role 2019-05-22 15:30:46 +02:00
tools change from fixup_uca to fixup_ubuntu 2019-07-04 07:10:05 +00:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Removing existing dirs from .gitignore 2019-05-31 13:35:30 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Fix pylint R1717 (consider-using-dict-comprehension) refactor messages 2019-03-14 23:19:58 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
.zuul.yaml Replace "integrated-gate" template with new "integrated-gate-networking" 2019-07-09 10:20:43 +02:00
CONTRIBUTING.rst Update link for contribution 2017-08-31 16:44:51 +02:00
HACKING.rst Update the documentation link for doc migration 2017-07-22 18:46:13 +09:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
README.rst Update mailinglist from dev to discuss 2018-12-12 12:44:12 +08:00
TESTING.rst Merge "Fix some formatting issues in TESTING.rst" 2019-04-25 12:10:35 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Add libffi-dev to bindep.txt 2017-06-13 19:26:49 +00:00
lower-constraints.txt Propagate profiler info into BatchNotifier threads 2019-07-09 13:28:33 +02:00
requirements.txt Propagate profiler info into BatchNotifier threads 2019-07-09 13:28:33 +02:00
setup.cfg fix NetworkSegmentRange OVO entry point 2019-06-06 09:31:26 -06:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Blacklist bandit 1.6.0 due to directory exclusion bug 2019-05-09 21:00:54 -04:00
tox.ini Merge "Add Python 3 Train unit tests" 2019-07-09 14:45:57 +00:00

README.rst

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst