added in test error reports from log
diff --git a/TestON/tests/IntentEventTP/IntentEventTP.py b/TestON/tests/IntentEventTP/IntentEventTP.py
index fc52a7e..99332f7 100644
--- a/TestON/tests/IntentEventTP/IntentEventTP.py
+++ b/TestON/tests/IntentEventTP/IntentEventTP.py
@@ -41,6 +41,10 @@
onBaremetal = main.params['isOnBaremetal']
homeDir = os.path.expanduser('~')
+ main.exceptions = [0]*11
+ main.warnings = [0]*11
+ main.errors = [0]*11
+
# -- INIT SECTION, ONLY RUNS ONCE -- #
if init == False:
init = True
@@ -49,9 +53,6 @@
global scale
global commit
- main.exceptions = [0]*11
- main.warnings = [0]*11
- main.errors = [0]*11
clusterCount = 0
ONOSIp = [ 0 ]
scale = (main.params[ 'SCALE' ]).split(",")
@@ -333,8 +334,6 @@
main.log.report("Results from this round of polling: " + str(groupResult))
main.log.report("Cluster Total: " + clusterTotal + "\n")
- main.ONOSbench.onosErrorLog(ONOSIp[1])
-
cmd = "onos $OC1 intent-perf-stop"
main.ONOSbench.handle.sendline(cmd)
main.ONOSbench.handle.expect(":~")
diff --git a/TestON/tests/flowTP1g/flowTP1g.py b/TestON/tests/flowTP1g/flowTP1g.py
index 3c92d7b..cbea039 100644
--- a/TestON/tests/flowTP1g/flowTP1g.py
+++ b/TestON/tests/flowTP1g/flowTP1g.py
@@ -37,6 +37,10 @@
main.log.info("==========DEBUG VERSION 3===========")
+ main.exceptions = [0]*11
+ main.warnings = [0]*11
+ main.errors = [0]*11
+
# -- INIT SECTION, ONLY RUNS ONCE -- #
if init == False:
init = True
@@ -131,7 +135,7 @@
a(ONOSIp[node])
main.log.info("Startup sequence complete")
-
+ main.ONOSbench.onosErrorLog(ONOSIp[1])
def CASE2( self, main ):
#
@@ -396,4 +400,4 @@
main.log.report("Result line to file: " + resultString)
-
+ main.ONOSbench.onosErrorLog(ONOSIp[1])