Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
fbca1a90
Commit
fbca1a90
authored
Oct 23, 2017
by
Andreas Schmidt
Browse files
Fix missing field in eval.py.
parent
5fadd42a
Pipeline
#1452
passed with stages
in 2 minutes and 8 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
eval.py
View file @
fbca1a90
...
...
@@ -16,8 +16,8 @@ if __name__ == "__main__":
setups
=
[
#perf.TestSetup(packets=100,delay=0,loss=0,reorder=0,duplicate=0), # smoke test
#perf.TestSetup(packets=500,delay=10,loss=1,reorder=0,duplicate=0), # stability
#
perf.TestSetup(packets=2**11,delay=0,loss=0,reorder=0,duplicate=0), # smoke test
perf
.
TestSetup
(
packets
=
100
,
delay
=
1
0
,
loss
=
5
0
,
reorder
=
0
,
duplicate
=
0
,
packet_interval
=
0.01
)
# freaky
perf
.
TestSetup
(
packets
=
2
**
11
,
delay
=
0
,
loss
=
0
,
reorder
=
0
,
duplicate
=
0
),
# smoke test
#
perf.TestSetup(packets=100,delay=0,loss=0,reorder=0,duplicate=0) # freaky
]
i
=
1
...
...
tests/perf/__init__.py
View file @
fbca1a90
...
...
@@ -105,6 +105,7 @@ class TestSetup(object):
self
.
reorderCorrelation
=
reorder_correlation
self
.
packetInterval
=
packet_interval
# in s
self
.
processingDelay
=
packet_interval
self
.
showLossPattern
=
loss_pattern
def
netemConfigString
(
self
):
# http://www.linuxfoundation.org/collaborate/workgroups/networking/netem
...
...
Write
Preview
Supports
Markdown
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