implemented case to call error report function
diff --git a/TestON/tests/FuncIntent/FuncIntent.params b/TestON/tests/FuncIntent/FuncIntent.params
index 7e5d8ce..a32c93c 100755
--- a/TestON/tests/FuncIntent/FuncIntent.params
+++ b/TestON/tests/FuncIntent/FuncIntent.params
@@ -1,6 +1,6 @@
<PARAMS>
- <testcases>10,11,12,1001,10,12,1001</testcases>
+ <testcases>10,11,9,12,1001,10,12,1001</testcases>
<SCALE>1,3</SCALE>
<availableNodes>3</availableNodes>
diff --git a/TestON/tests/FuncIntent/FuncIntent.py b/TestON/tests/FuncIntent/FuncIntent.py
index 45392fc..27cf66e 100644
--- a/TestON/tests/FuncIntent/FuncIntent.py
+++ b/TestON/tests/FuncIntent/FuncIntent.py
@@ -52,6 +52,10 @@
for i in range( 1, int( main.numCtrls ) + 1 ):
main.CLIs.append( getattr( main, 'ONOScli' + str( i ) ) )
+ main.errors = [0]*11
+ main.warnings = [0]*11
+ main.exceptions = [0]*11
+
# -- INIT SECTION, ONLY RUNS ONCE -- #
if init == False:
init = True
@@ -201,6 +205,11 @@
actual=stepResult,
onpass="Successfully start ONOS cli",
onfail="Failed to start ONOS cli" )
+
+ def CASE9( self, main ):
+ main.log.info("Error report: \n")
+ main.ONOSbench.onosErrorLog(globalONOSip[1])
+
def CASE11( self, main ):
"""