From 86ff7d4f2fbe563f4b6ca781909c7c9d8681f39a Mon Sep 17 00:00:00 2001 From: wuwenbin2 Date: Fri, 29 Jul 2016 17:18:53 +0800 Subject: Add onos_sfc scenario JIRA:ONOSFW-172 Change-Id: I019edf79f8d343f794aa7af151d8e30c18e2c5f6 Signed-off-by: wuwenbin2 --- testcases/Controllers/ONOS/Sfc/Sfc.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testcases/Controllers/ONOS/Sfc') diff --git a/testcases/Controllers/ONOS/Sfc/Sfc.py b/testcases/Controllers/ONOS/Sfc/Sfc.py index 6b1973ef0..a52019875 100644 --- a/testcases/Controllers/ONOS/Sfc/Sfc.py +++ b/testcases/Controllers/ONOS/Sfc/Sfc.py @@ -226,4 +226,9 @@ class Sfc: 'status': status}) except: logger.error("Error pushing results into Database") + + if status == "FAIL": + EXIT_CODE = -1 + exit(EXIT_CODE) + print("############################END OF SCRIPT ######################") -- cgit 1.2.3-korg