Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Topo installation script fix
[csit.git]
/
resources
/
tools
/
t-rex
/
t-rex-stateless.py
diff --git
a/resources/tools/t-rex/t-rex-stateless.py
b/resources/tools/t-rex/t-rex-stateless.py
index
6c53794
..
46c67cc
100755
(executable)
--- a/
resources/tools/t-rex/t-rex-stateless.py
+++ b/
resources/tools/t-rex/t-rex-stateless.py
@@
-158,7
+158,7
@@
def simple_burst(pkt_a, pkt_b, duration=10, rate="1mpps",
c.start(ports=[0, 1], mult=rate, duration=duration)
# block until done
c.start(ports=[0, 1], mult=rate, duration=duration)
# block until done
- c.wait_on_traffic(ports=[0, 1])
+ c.wait_on_traffic(ports=[0, 1]
, timeout=(duration+30)
)
# read the stats after the test
stats = c.get_stats()
# read the stats after the test
stats = c.get_stats()