diff --git a/neutron/tests/functional/agent/linux/test_keepalived.py b/neutron/tests/functional/agent/linux/test_keepalived.py index 3df8ec7925c..9c9da7098d6 100644 --- a/neutron/tests/functional/agent/linux/test_keepalived.py +++ b/neutron/tests/functional/agent/linux/test_keepalived.py @@ -35,7 +35,7 @@ class KeepalivedManagerTestCase(base.BaseTestCase, self.manager = keepalived.KeepalivedManager( 'router1', self.expected_config, self.process_monitor, conf_path=cfg.CONF.state_path) - self.addCleanup(self.manager.get_process().disable) + self.addCleanup(self.manager.disable) def test_keepalived_spawn(self): self.manager.spawn()