summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2018-12-14 17:24:13 +0100
committerDamjan Marion <dmarion@me.com>2018-12-20 09:22:55 +0000
commitd0f70a346d99619000f7a5349178af2d33bf6005 (patch)
tree454b9ea81986a076f56b723a52304294aed05ced /test
parentaefbedeb5da326475230c31e75d0d9d6d0de8656 (diff)
reassembly: replace asserts with error counters
Change-Id: Iaa39aea990bc04147f6a049215e990a567d30106 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_reassembly.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_reassembly.py b/test/test_reassembly.py
index 96e00c6bb60..828c4d1a56e 100644
--- 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
-test_packet_count = 257
+# 35 is enough to have >257 400-byte fragments
+test_packet_count = 35
class TestIPv4Reassembly(VppTestCase):
@@ -60,7 +61,7 @@ class TestIPv4Reassembly(VppTestCase):
@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.
"""