open-traffic-generator / conformance

Open Traffic Generator Conformance Tests
MIT License
4 stars 1 forks source link

Ignore unexpected packets in capture validation #20

Closed ashutshkumr closed 2 years ago

ashutshkumr commented 2 years ago

I have added check for unexpected packets - so those can be conditionally ignored. This should avoid intermittent failures during batch run.

If we detect any unexpected packets (due to ICMP and what not), those will still be printed as warnings. Even though we’re ignoring such packets, we’re still ensuring that packet count is correct - so if packet sent out from the flow itself turns out to be incorrect, it will still be detected and fail the test.

ashutshkumr commented 2 years ago

Fixed by https://github.com/open-traffic-generator/conformance/commit/dff7847dec67dab772914b1b7993f44d7f319747