7bb1bbba36
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 |
||
---|---|---|
api-ref | ||
bin | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
playbooks | ||
rally-jobs | ||
releasenotes | ||
roles | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
TESTING.rst | ||
babel.cfg | ||
bindep.txt | ||
lower-constraints.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Welcome!
To learn more about neutron:
- Documentation: https://docs.openstack.org
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst