← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1332380] Re: tox functional tests should use openstack.common.lockutils module for locks

 

** 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/1332380

Title:
  tox functional tests should use openstack.common.lockutils module for
  locks

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

Bug description:
  tox.ini

  [testenv]
  setenv = VIRTUAL_ENV={envdir}
  usedevelop = True
  install_command = pip install -U {opts} {packages}
  deps = -r{toxinidir}/requirements.txt
         -r{toxinidir}/test-requirements.txt
         setuptools_git>=0.4
  commands =
    python -m neutron.openstack.common.lockutils python setup.py testr --slowest --testr-args='{posargs}'

  [testenv:functional]
  setenv = OS_TEST_PATH=./neutron/tests/functional
  commands =
    python setup.py testr --slowest --testr-args='{posargs}'

  The [testenv:functional] "commands"  should use
  "openstack.common.lockutils" for locks just as [testenv] does.

  This was discovered during developing functional tests which require
  locking.

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


References