From 7d33e05d6731d144b306ea0263de8ebabdee6366 Mon Sep 17 00:00:00 2001
From: Maru Newby <marun@redhat.com>
Date: Mon, 28 Jul 2014 22:11:45 +0000
Subject: [PATCH] Fix neutron func job to install neutron and deps

The neutron functional job wasn't installing neutron, which meant the
sudo config necessary to run the job was not available.  It is also
necessary to have devstack install testonly dependencies to ensure that
functional tests can support the same dependencies as the unit tests.

Change-Id: Iee212995f4c27d55466c753ddca6aace4ffcf35e
Partial-bug: #1336172
---
 .../files/jenkins_job_builder/config/neutron-functional.yaml    | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/openstack_project/files/jenkins_job_builder/config/neutron-functional.yaml b/modules/openstack_project/files/jenkins_job_builder/config/neutron-functional.yaml
index 087e63b8d7..2b3be6d765 100644
--- a/modules/openstack_project/files/jenkins_job_builder/config/neutron-functional.yaml
+++ b/modules/openstack_project/files/jenkins_job_builder/config/neutron-functional.yaml
@@ -17,6 +17,8 @@
           export DEVSTACK_GATE_TIMEOUT=120
           export DEVSTACK_GATE_TEMPEST=0
           export DEVSTACK_GATE_EXERCISES=0
+          export DEVSTACK_GATE_NEUTRON=1
+          export DEVSTACK_GATE_INSTALL_TESTONLY=1
           export BRANCH_OVERRIDE={branch-override}
           if [ "$BRANCH_OVERRIDE" != "default" ] ; then
               export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE