implemented case to call error report function
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 ):
"""