aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS/Teston
diff options
context:
space:
mode:
authorwuwenbin2 <wuwenbin2@huawei.com>2016-07-15 18:53:39 +0800
committerwuwenbin2 <wuwenbin2@huawei.com>2016-07-15 19:16:42 +0800
commit0cb81d1230799d450447ce673e70f3f6349886d9 (patch)
tree1f7f5b7f001d3b214bf80daf009ec296610e916a /testcases/Controllers/ONOS/Teston
parent0106c0af563ce90d1d9776db3ea84c95e1c1083f (diff)
Push sfc result into DB
Change-Id: I8ab9b5b9322fa3a6905c629e559aa78d9817958f Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
Diffstat (limited to 'testcases/Controllers/ONOS/Teston')
-rwxr-xr-xtestcases/Controllers/ONOS/Teston/onosfunctest.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/testcases/Controllers/ONOS/Teston/onosfunctest.py b/testcases/Controllers/ONOS/Teston/onosfunctest.py
index 23fb62d47..35ced61c5 100755
--- a/testcases/Controllers/ONOS/Teston/onosfunctest.py
+++ b/testcases/Controllers/ONOS/Teston/onosfunctest.py
@@ -227,10 +227,6 @@ def main():
SetOnosIp()
RunScript("FUNCvirNetNB")
RunScript("FUNCvirNetNBL3")
- if DEPLOY_SCENARIO == "os-onos-sfc-ha":
- CreateImage()
- SetSfcConf()
- SfcTest()
try:
logger.debug("Push ONOS results into DB")
# TODO check path result for the file
@@ -258,6 +254,11 @@ def main():
except:
logger.error("Error pushing results into Database")
+ if DEPLOY_SCENARIO == "os-onos-sfc-ha":
+ CreateImage()
+ SetSfcConf()
+ SfcTest()
+
# CleanOnosTest()