~andreserl/maas/qa-lab-tests-pause-before

1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -e -u
exec 2>&1
if [ "$USE_CC_NODES" == True ]; then
    # Configure lab network before starting the tests.
    cat $TESTBED_WORKDIR/cluster-network-config > /etc/network/interfaces
    service networking restart
    # Install nose-timer.
    pip install --no-index --find-links file:///home/ubuntu/ nose-timer
    # Run tests.
    nosetests --verbose --stop --with-timer \
        debian/tests/cluster-controller-integration.py
fi