summaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS/Teston/onosfunctest.py
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/Controllers/ONOS/Teston/onosfunctest.py')
-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()