git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0e82f0c
)
dont attepmt to boot node utill nodenetwork specs are figured out
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 29 Jan 2008 22:13:52 +0000
(22:13 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 29 Jan 2008 22:13:52 +0000
(22:13 +0000)
qaapi/runtests.py
patch
|
blob
|
history
diff --git
a/qaapi/runtests.py
b/qaapi/runtests.py
index
3b97c19
..
a35f3f7
100755
(executable)
--- a/
qaapi/runtests.py
+++ b/
qaapi/runtests.py
@@
-2,7
+2,7
@@
#
# Sample myplc testing script that makes use of
# qaapi modules.
#
# Sample myplc testing script that makes use of
# qaapi modules.
-
+import sys
from pprint import pprint
from qa.Config import Config
from qa.tests.plc_configure import plc_configure
from pprint import pprint
from qa.Config import Config
from qa.tests.plc_configure import plc_configure
@@
-28,6
+28,8
@@
add_test_data()()
# Update plc with tests user's current public key
sync_person_key()(person)
# Update plc with tests user's current public key
sync_person_key()(person)
+# exit for now untill we get node booted with correct network
+sys.exit(0)
# Boot test node and confirm boot state
boot_node()(node)
if get_boot_state()(node) not in ['boot']:
# Boot test node and confirm boot state
boot_node()(node)
if get_boot_state()(node) not in ['boot']:
@@
-36,7
+38,7
@@
if get_boot_state()(node) not in ['boot']:
# Restart node manager on the node
priv_key_path = "/etc/planetlab/root_ssh_key.rsa" % locals()
restart_nm = 'service nm restart'
# Restart node manager on the node
priv_key_path = "/etc/planetlab/root_ssh_key.rsa" % locals()
restart_nm = 'service nm restart'
-remote_call(priv_key_path, node, restart_nm)
+
node_
remote_call(priv_key_path, node, restart_nm)
# Try to access the test slice on the test node
email = config.TEST_PERSON_EMAIL
# Try to access the test slice on the test node
email = config.TEST_PERSON_EMAIL