← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
     Assignee: Rui Zang (rui-zang)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Rui Zang (rui-zang)

** Changed in: neutron
       Status: New => In Progress

-- 
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):
  In Progress

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


Follow ups

References