]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Cleanup in keepalived tests
authorAssaf Muller <amuller@redhat.com>
Wed, 11 Feb 2015 15:55:19 +0000 (10:55 -0500)
committerAssaf Muller <amuller@redhat.com>
Thu, 12 Feb 2015 13:37:28 +0000 (08:37 -0500)
commitf88b8eae7aae64bf637dea4d3be4e1684fc756d8
treeb4a3e77c0d7fd065eb61d79e16376b7f040531d1
parenta97b9a494402cc4a29aa03a54e8894c8deeeae2c
Cleanup in keepalived tests

A recent patch introduced a new keepalived manager utility
function which returns the keepalived.conf file contents,
but the keepalived functional test was not updated to use it.
Also, a bunch of unneeded logging configuration was removed from
this test.

Additionally, the keepalived configuration functional test
in the L3 agent testing module compares expected configuration
to an in-memory representation of the configuration that will
be persisted to disk. It's better to compare the expected
configuation with what was actually written to disk.

Change-Id: I0d6f73c5326d2ba1960456a151a67517db5cce7a
neutron/tests/functional/agent/linux/test_keepalived.py
neutron/tests/functional/agent/test_l3_agent.py