From 0cb81d1230799d450447ce673e70f3f6349886d9 Mon Sep 17 00:00:00 2001 From: wuwenbin2 Date: Fri, 15 Jul 2016 18:53:39 +0800 Subject: Push sfc result into DB Change-Id: I8ab9b5b9322fa3a6905c629e559aa78d9817958f Signed-off-by: wuwenbin2 --- testcases/Controllers/ONOS/Teston/onosfunctest.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'testcases/Controllers/ONOS/Teston') 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() -- cgit 1.2.3-korg