Commit 3022a56a authored by Robert Schmidt's avatar Robert Schmidt

CI: log to see why RT stats checking fails

parent a7ac603a
...@@ -1137,6 +1137,7 @@ class RANManagement(): ...@@ -1137,6 +1137,7 @@ class RANManagement():
#check if there is a fail => will render the test as failed #check if there is a fail => will render the test as failed
for k in datalog_rt_stats['Data']: for k in datalog_rt_stats['Data']:
if float(datalog_rt_stats['Data'][k][2])> datalog_rt_stats['Threshold'][k]: #condition for fail : avg/ref is greater than the fixed threshold if float(datalog_rt_stats['Data'][k][2])> datalog_rt_stats['Threshold'][k]: #condition for fail : avg/ref is greater than the fixed threshold
logging.debug('\u001B[1;30;43m datalog_rt_stats metric ' + k + '=' + datalog_rt_stats['Data'][k][2] + ' > threshold ' + str(datalog_rt_stats['Threshold'][k]) + ' \u001B[0m')
RealTimeProcessingIssue = True RealTimeProcessingIssue = True
else: else:
statMsg = 'No real time stats found in the log file\n' statMsg = 'No real time stats found in the log file\n'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment