Fix neutron func job sudo config.
The neutron functional job appears to require explicit config to avoid using a tty in invoking sudo. Change-Id: I3de8fd8039258625e03d0fc78e907c8462431a42
This commit is contained in:
parent
8bf3764d9c
commit
e2aeb04a0e
@ -29,6 +29,7 @@
|
||||
cd $BASE/new/neutron
|
||||
# Run tests as the stack user to allow sudo.
|
||||
sudo chown -R stack:stack $BASE/new/neutron
|
||||
echo 'Defaults:stack !requiretty' | sudo tee /etc/sudoers.d/00_no_tty
|
||||
echo "Running neutron functional test suite"
|
||||
sudo -H -u stack tox -e functional
|
||||
}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user