← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1363058] Re: cfg.CONF.state_path set to wrong value in tests

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1363058

Title:
  cfg.CONF.state_path set to wrong value in tests

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  cfg.CONF.state_path is set to a random temporary directory in
  neutron.tests.base:BaseTestCase.setUp. This value was then over
  written in neutron.tests.unit.__init__. Tests that need to read or
  otherwise use cfg.CONF.state_path were getting the directory from
  which the tests were running and not the temporary directory specially
  created for the current test run.

  Note that the usage of state_path to set lock_path, dhcp state path
  and the likes was working as expected, and was not affected by this
  bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1363058/+subscriptions


References