Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
reassembly: replace asserts with error counters
[vpp.git]
/
test
/
test_reassembly.py
diff --git
a/test/test_reassembly.py
b/test/test_reassembly.py
index
96e00c6
..
828c4d1
100644
(file)
--- a/
test/test_reassembly.py
+++ b/
test/test_reassembly.py
@@
-17,7
+17,8
@@
from vpp_gre_interface import VppGreInterface, VppGre6Interface
from vpp_ip import DpoProto
from vpp_ip_route import VppIpRoute, VppRoutePath
from vpp_ip import DpoProto
from vpp_ip_route import VppIpRoute, VppRoutePath
-test_packet_count = 257
+# 35 is enough to have >257 400-byte fragments
+test_packet_count = 35
class TestIPv4Reassembly(VppTestCase):
class TestIPv4Reassembly(VppTestCase):
@@
-60,7
+61,7
@@
class TestIPv4Reassembly(VppTestCase):
@classmethod
def create_stream(cls, packet_sizes, packet_count=test_packet_count):
@classmethod
def create_stream(cls, packet_sizes, packet_count=test_packet_count):
- """Create input packet stream
for defined interface.
+ """Create input packet stream
:param list packet_sizes: Required packet sizes.
"""
:param list packet_sizes: Required packet sizes.
"""