timeout (inline)
(self)
| 479 | self.verify_capture(packets) |
| 480 | |
| 481 | def test_timeout_inline(self): |
| 482 | """timeout (inline)""" |
| 483 | |
| 484 | dropped_packet_indexes = set( |
| 485 | index for (index, frags, _, _) in self.pkt_infos if len(frags) > 1 |
| 486 | ) |
| 487 | |
| 488 | self.vapi.ip_reassembly_set( |
| 489 | timeout_ms=0, |
| 490 | max_reassemblies=1000, |
| 491 | max_reassembly_length=3, |
| 492 | expire_walk_interval_ms=10000, |
| 493 | ) |
| 494 | |
| 495 | packets = self.send_and_expect_multi( |
| 496 | send=[Send(self.src_if, self.fragments_400)], |
| 497 | expect=[ |
| 498 | Expect(self.dst_if, len(self.pkt_infos) - len(dropped_packet_indexes)) |
| 499 | ], |
| 500 | )[0].packets |
| 501 | self.verify_capture(packets, dropped_packet_indexes) |
| 502 | |
| 503 | def test_timeout_cleanup(self): |
| 504 | """timeout (cleanup)""" |
nothing calls this directly
no test coverage detected