Commit Graph

13 Commits

Author SHA1 Message Date
Adit Sarfaty 4a3e8191cd Stop testing python 2
Since it's no longer supported past Train, lets stop
running the tests.
Please also see the related neutron patch:
I1c171ab906a3b4c66558163ad26947ebf710a276

Change-Id: Ic5361ac8495493d45603a57fcaac5f8385c681b7
2019-11-02 08:21:10 +00:00
melissaml 95eae7beb9 Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I0681a2f9cc5d4a0f8f5e3524f1b23ac52af5d897
2018-04-23 05:06:29 +00:00
rtmdk@163.com 2caa2dd076 Fix to use . to source script files
Adhering to coding conventions. Refer to ``Code conventions`` at [1][2] for details.
When you have to source a script file, for example, a credentials file to gain access
to user-only or admin-only CLI commands, use . instead of source.

[1] https://docs.openstack.org/contributor-guide/
[2] https://docs.openstack.org/contributor-guide/writing-style/code-conventions.html

Change-Id: If30f120f268400d7df5e79d78c05d377aca8138a
2017-10-25 14:06:29 +08:00
Gary Kotton b76d3ad6de Fix gate jobs
Change-Id: Ic323916666e14a60dca8f84b0089328f52ed42d2
2017-05-02 13:01:52 +03:00
Shih-Hao Li 4483fe5006 Reorganize vmware_nsx/tests structure
This patch is based on https://review.openstack.org/161194
It renames vmware_nsx/tests/unit/vmware/ to vmware_nsx/tests/unit/
and creates subdirectories
vmware_nsx/tests/unit/dvs/
vmware_nsx/tests/unit/nsx_mh/
vmware_nsx/tests/unit/nsx_v/
vmware_nsx/tests/unit/nsx_v3/
vmware_nsx/tests/unit/nsxlib/mh/
vmware_nsx/tests/unit/nsxlib/v3/

This is part of new vmware_nsx directory structure proposed in
https://goo.gl/GdWXyH.

Change-Id: I16aa2455bce55f6455bb5e504ee9684c675b4257
2015-09-24 10:41:10 -07:00
Shih-Hao Li 8918b10b67 Move vmware_nsx/neutron/tests to vmware_nsx/tests
This is part of new vmware_nsx directory structure proposed in
https://goo.gl/GdWXyH.

Change-Id: I86262470a03c520bf8fe0f5129d940107701004f
2015-09-14 18:08:51 -07:00
Gary Kotton 0c3177235e VMware-NSX: update documentation to reference VMware-NSX
Change files copied from Neutron to have the VMware NSX references.

Change-Id: I3cf8b3d37e045cb8efb0cac31efa30b93cc88d09
2014-12-29 03:15:44 -08:00
Jeremy Stanley 49a09e8e4f Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: I77aa4152a903a0f1f47de20bb1a006d29f5a1bf2
2014-12-05 03:30:37 +00:00
Miguel Angel Ajo 2c99a24351 Support pudb as a different post mortem debugger
Post mortem debugger starts pdb at the assert failure place
when OS_POST_MORTEM_DEBUGGER is set and an exception or assert
failure happens.

This patch adds a neutron env variable OS_POST_MORTEM_DEBUGGER
to allow invocation of pudb instead of pdb. pudb module is not
a hard requisite as it will be only imported if you set
OS_POST_MORTEM_DEBUGGER=pudb.

The old OS_POST_MORTEM_DEBUG env variable is removed now.

Change-Id: I5d40913add439cf9c30305bafc98af9f8cd4d12f
2014-11-14 12:30:20 +01:00
Jenkins 5118c61479 Merge "Add a gate-specific tox env for functional tests" 2014-07-19 02:48:16 +00:00
Maru Newby 13a695feb5 Add a gate-specific tox env for functional tests
The functional gate jobs (*-neutron-dsvm-functional) need special
configuration (e.g. OS_SUDO_TESTING, OS_ROOTWRAP_CMD) to run tests.
This patch adds a new gate-specific tox env (tox -e dsvm-functional)
that sets the appropriate values and allows easy duplication of the
results of the upstream job on a host that has successfully run
devstack with neutron enabled.

A new configuration option, OS_FAIL_ON_MISSING_DEPS, is also set by
the dsvm-functional tox env to ensure that dependency failures will
result in failures rather than skips when run in the gate.

Change-Id: Idbfef1ba72ed129a3021509c7969e2685b8a6d09
Partial-bug: #1336172
2014-07-09 06:05:11 +00:00
Ralf Haferkamp c373511428 Fix example for running individual tests
The ':' syntax doesn't seem to work anymore. Additionally fix the "tox" call to
not try to run it from the current working directory. It's usually installed
somewhere in $PATH.

Closes-Bug: #1334134
Change-Id: Ie608cee2ac131941d6642e2560a84db55415654b
2014-07-01 09:06:13 +02:00
Sean M. Collins 9a749d3a67 Developer documentation
* Turns TESTING into a rst file, that we include in the developer
  documentation, for instructions on how to run the unit tests.
* Link to a Vagrant project that sets up Neutron inside a VM.
* Adds a section for how to debug with Nose
* Add new section for Neutron Internals
* Neutron L2 Agent documentation - currently only OVS
* Make the Security Group API extension an example of how an API
  extension is implemented

Implements bp developer-documentation

Change-Id: I9b452abc9da3b1a41ae65cff727967de0eab12fe
2014-02-26 11:03:46 -05:00