summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-06-06 05:21:18 -0400
committerMatthewLi <matthew.lijun@huawei.com>2016-06-06 05:21:18 -0400
commit111458fd781a24e39f8a2f98bc780629b8f32df4 (patch)
tree5771f18bbc3c1bee4832d7c315a21450dacabe5d /testsuites
parent90163e70d7345438648f62eb181413e63f2c9f06 (diff)
bugfix for vstf running
Change-Id: I9777e84b9be905c484a7d86be2287cde27ae33fe Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'testsuites')
-rwxr-xr-xtestsuites/vstf/run_vstf.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/testsuites/vstf/run_vstf.py b/testsuites/vstf/run_vstf.py
index d55e7953..b9c782dc 100755
--- 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())
+ 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:
@@ -264,11 +268,11 @@ def main():
print "Cannot create instances, as Failed to create image(s)."
exit (-1)
- print "Wait 100 seconds after stack creation..."
- time.sleep(100)
+ print "Wait 300 seconds after stack creation..."
+ time.sleep(300)
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()