Skip to content

Commit

Permalink
Updating test requirements
Browse files Browse the repository at this point in the history
To account for EoL'ed branches.

Also increasing UT test timeout, and disabling the NFP & Service
Chain tests since the upstream py27 job consistently does not
complete within the timeframe allocated by the OpenStack infra.

Change-Id: I458e9ae94559c303c38ba5eebb8ca2e900c8f637
  • Loading branch information
snaiksat committed Nov 7, 2017
1 parent 37d4b07 commit 01729f0
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .testr.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[DEFAULT]
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-120} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-180} \
# Temporarily exclude gbpservice/neutron contrib tests until nfp tests pass
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./gbpservice/neutron} $LISTOPT $IDOPTION
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./gbpservice/neutron/tests/unit/plugins} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: python
python: 2.7
env:
- TOX_ENV=py27
- TOX_ENV=pep8
install:
- pip install tox
script:
- tox -e $TOX_ENV
Empty file.
1 change: 1 addition & 0 deletions gbpservice/neutron/tests/unit/nfp/init.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# rename this file to __init_.py to renable NFP tests.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# rename this file to __init_.py to renable Service chain tests.
10 changes: 5 additions & 5 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.

-e git+https://git.openstack.org/openstack/neutron.git@stable/newton#egg=neutron
-e git+https://git.openstack.org/openstack/neutron.git@newton-eol#egg=neutron

-e git+https://github.com/noironetworks/apicapi.git@master#egg=apicapi

-e git+https://github.com/noironetworks/python-opflex-agent.git@stable/newton#egg=python-opflexagent-agent
-e git+https://github.com/noironetworks/apic-ml2-driver.git@master#egg=apic_ml2

-e git+https://git.openstack.org/openstack/python-group-based-policy-client@master#egg=gbpclient
-e git+https://git.openstack.org/openstack/neutron-vpnaas@stable/newton#egg=neutron-vpnaas
-e git+https://git.openstack.org/openstack/neutron-lbaas@stable/newton#egg=neutron-lbaas
-e git+https://git.openstack.org/openstack/neutron-fwaas@stable/newton#egg=neutron-fwaas
-e git+https://git.openstack.org/openstack/python-group-based-policy-client@stable/newton#egg=gbpclient
-e git+https://git.openstack.org/openstack/neutron-vpnaas@newton-eol#egg=neutron-vpnaas
-e git+https://git.openstack.org/openstack/neutron-lbaas@newton-eol#egg=neutron-lbaas
-e git+https://git.openstack.org/openstack/neutron-fwaas@newton-eol#egg=neutron-fwaas
hacking<0.12,>=0.11.0 # Apache-2.0

cliff>=1.15.0 # Apache-2.0
Expand Down

0 comments on commit 01729f0

Please sign in to comment.