Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openairinterface-6g
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
OpenXG
openairinterface-6g
Commits
d4aac07a
Commit
d4aac07a
authored
Nov 05, 2025
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove write-only code
parent
f7eaafa8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+1
-2
ci-scripts/main.py
ci-scripts/main.py
+0
-4
No files found.
ci-scripts/cls_oaicitest.py
View file @
d4aac07a
...
...
@@ -299,7 +299,6 @@ class OaiCiTest():
self
.
iperf_packetloss_threshold
=
''
self
.
iperf_bitrate_threshold
=
''
self
.
iperf_profile
=
''
self
.
iperf_options
=
''
self
.
iperf_tcp_rate_target
=
''
self
.
finalStatus
=
False
self
.
air_interface
=
''
...
...
@@ -520,7 +519,7 @@ class OaiCiTest():
return
(
status
,
f'
{
ue_header
}
\n
{
msg
}
'
)
def
Iperf
(
self
,
ctx
,
node
,
HTML
,
infra_file
=
"ci_infra.yaml"
):
logging
.
debug
(
f'Iperf: iperf_args "
{
self
.
iperf_args
}
" iperf_packetloss_threshold "
{
self
.
iperf_packetloss_threshold
}
" iperf_bitrate_threshold "
{
self
.
iperf_bitrate_threshold
}
" iperf_profile "
{
self
.
iperf_profile
}
"
iperf_options "
{
self
.
iperf_options
}
"
'
)
logging
.
debug
(
f'Iperf: iperf_args "
{
self
.
iperf_args
}
" iperf_packetloss_threshold "
{
self
.
iperf_packetloss_threshold
}
" iperf_bitrate_threshold "
{
self
.
iperf_bitrate_threshold
}
" iperf_profile "
{
self
.
iperf_profile
}
"'
)
if
self
.
ue_ids
==
[]
or
self
.
svr_id
==
None
:
raise
Exception
(
"no module names in self.ue_ids or/and self.svr_id provided"
)
...
...
ci-scripts/main.py
View file @
d4aac07a
...
...
@@ -185,10 +185,6 @@ def ExecuteActionWithParam(action, ctx, node):
if
CiTestObj
.
iperf_profile
!=
'balanced'
and
CiTestObj
.
iperf_profile
!=
'unbalanced'
and
CiTestObj
.
iperf_profile
!=
'single-ue'
:
logging
.
error
(
f'test-case has wrong profile
{
CiTestObj
.
iperf_profile
}
, forcing balanced'
)
CiTestObj
.
iperf_profile
=
'balanced'
CiTestObj
.
iperf_options
=
test
.
findtext
(
'iperf_options'
)
or
'check'
if
CiTestObj
.
iperf_options
!=
'check'
and
CiTestObj
.
iperf_options
!=
'sink'
:
logging
.
error
(
'test-case has wrong option '
+
CiTestObj
.
iperf_options
)
CiTestObj
.
iperf_options
=
'check'
if
action
==
'Iperf'
:
success
=
CiTestObj
.
Iperf
(
ctx
,
node
,
HTML
)
elif
action
==
'Iperf2_Unidir'
:
...
...
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