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:
7a50c4f
)
run node tests
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 31 Jan 2008 20:21:23 +0000
(20:21 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 31 Jan 2008 20:21:23 +0000
(20:21 +0000)
qaapi/runtests.py
patch
|
blob
|
history
diff --git
a/qaapi/runtests.py
b/qaapi/runtests.py
index
d4c4bfc
..
dd7a253
100755
(executable)
--- a/
qaapi/runtests.py
+++ b/
qaapi/runtests.py
@@
-36,12
+36,14
@@
if get_boot_state()(node) not in ['boot']:
raise Exception, "%(node)s not fully booted" % locals()
# Restart node manager on the node
raise Exception, "%(node)s not fully booted" % locals()
# Restart node manager on the node
-priv_key_path = "/etc/planetlab/root_ssh_key.rsa" % locals()
restart_nm = 'service nm restart'
restart_nm = 'service nm restart'
-node_remote_call(
priv_key_path,
node, restart_nm)
+node_remote_call(node, restart_nm)
# Try to access the test slice on the test node
email = config.TEST_PERSON_EMAIL
slice = config.TEST_SLICE_NAME
access_slice(email, slice, node)
# Try to access the test slice on the test node
email = config.TEST_PERSON_EMAIL
slice = config.TEST_SLICE_NAME
access_slice(email, slice, node)
+
+# Run node tests
+node_run_tests()(node)