Code Review
/
bottlenecks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
bugfix for vstf running
[bottlenecks.git]
/
testsuites
/
vstf
/
run_vstf.py
diff --git
a/testsuites/vstf/run_vstf.py
b/testsuites/vstf/run_vstf.py
index
d55e795
..
b9c782d
100755
(executable)
--- a/
testsuites/vstf/run_vstf.py
+++ b/
testsuites/vstf/run_vstf.py
@@
-197,6
+197,10
@@
def vstf_run(launch_file=None, test_file=None):
nova = _get_nova_client()
print(nova.servers.list())
nova = _get_nova_client()
print(nova.servers.list())
+ print "## neutruon net-list:"
+ subprocess.call("neutron net-list", shell=True)
+ print "## nova list:"
+ subprocess.call("nova list", shell=True)
time.sleep(100)
instances = get_instances(nova)
if instances == None:
time.sleep(100)
instances = get_instances(nova)
if instances == None:
@@
-264,11
+268,11
@@
def main():
print "Cannot create instances, as Failed to create image(s)."
exit (-1)
print "Cannot create instances, as Failed to create image(s)."
exit (-1)
- print "Wait
1
00 seconds after stack creation..."
- time.sleep(
1
00)
+ print "Wait
3
00 seconds after stack creation..."
+ time.sleep(
3
00)
launchfile = Bottlenecks_repo_dir + "/utils/infra_setup/heat_template/vstf_heat_template/launch_vstf.sh"
launchfile = Bottlenecks_repo_dir + "/utils/infra_setup/heat_template/vstf_heat_template/launch_vstf.sh"
- testfile = Bottlenecks_repo_dir + "utils/infra_setup/heat_template/vstf_heat_template/test_vstf.sh"
+ testfile = Bottlenecks_repo_dir + "
/
utils/infra_setup/heat_template/vstf_heat_template/test_vstf.sh"
vstf_run(launch_file=launchfile, test_file=testfile)
vstf_env_cleanup()
vstf_run(launch_file=launchfile, test_file=testfile)
vstf_env_cleanup()