Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
eea4e179
Commit
eea4e179
authored
Oct 13, 2021
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temp for debug : do not exit if RT stats are exceeded
parent
f287f0ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ci-scripts/ran.py
ci-scripts/ran.py
+1
-1
No files found.
ci-scripts/ran.py
View file @
eea4e179
...
@@ -1074,7 +1074,7 @@ class RANManagement():
...
@@ -1074,7 +1074,7 @@ class RANManagement():
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
#setting prematureExit is ok although not the best option
#setting prematureExit is ok although not the best option
self
.
prematureExit
=
True
self
.
prematureExit
=
False
#temp for debug : do not stop the test if RT stats are excedeed
else
:
else
:
statMsg
=
'No real time stats found in the log file
\n
'
statMsg
=
'No real time stats found in the log file
\n
'
logging
.
debug
(
'No real time stats found in the log file'
)
logging
.
debug
(
'No real time stats found in the log file'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment