~matsubara/maas/wait-to-configure-cluster

« back to all changes in this revision

Viewing changes to maas-package-test

  • Committer: Diogo Matsubara
  • Date: 2013-11-29 18:06:25 UTC
  • mto: This revision was merged to the branch mainline in revision 228.
  • Revision ID: diogo.matsubara@canonical.com-20131129180625-bklqarro1ymg3j6o
update test initialization code to run the network config that was done through postinit script on a-p-t

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
set -e -u
3
3
exec 2>&1
 
4
# Configure lab network before starting the tests.
 
5
cat $TESTBED_WORKDIR/network-config > /etc/network/interfaces
 
6
service networking restart
 
7
 
 
8
# Install nose-timer.
4
9
pip install --no-index --find-links file:///home/ubuntu/ nose-timer
 
10
# Run tests.
5
11
nosetests --verbose --stop --with-timer debian/tests/maas-integration.py