194.2.31
by Diogo Matsubara
separate control files for maas and maas-cluster-controller packages |
1 |
#!/bin/bash
|
2 |
set -e -u
|
|
3 |
exec 2>&1 |
|
227.1.4
by Diogo Matsubara
only run maas-cluster-controller-package-tests if USE_CC_NODES is true |
4 |
if [ "$USE_CC_NODES" == True ]; then |
227.1.5
by Diogo Matsubara
update test initialization code to run the network config that was done through postinit script on a-p-t |
5 |
# Configure lab network before starting the tests.
|
6 |
cat $TESTBED_WORKDIR/cluster-network-config > /etc/network/interfaces
|
|
7 |
service networking restart |
|
8 |
# Install nose-timer.
|
|
227.1.4
by Diogo Matsubara
only run maas-cluster-controller-package-tests if USE_CC_NODES is true |
9 |
pip install --no-index --find-links file:///home/ubuntu/ nose-timer |
227.1.5
by Diogo Matsubara
update test initialization code to run the network config that was done through postinit script on a-p-t |
10 |
# Run tests.
|
261.2.1
by jtv at canonical
Add lint test, and fix lint. |
11 |
nosetests --verbose --stop --with-timer \
|
12 |
debian/tests/cluster-controller-integration.py |
|
227.1.4
by Diogo Matsubara
only run maas-cluster-controller-package-tests if USE_CC_NODES is true |
13 |
fi
|