mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-24 17:53:02 +02:00
In test cases, it is common that we want to verify that a certain type of traffic reaches a namespace. This has, up to this point, been solved by the generic sniffer.Sniffer. Try to improve the two most common use-cases... 1. Test if a flow reaches a namespace 2. Ensure that a flow does not reach a namespace ...by always exiting as soon as the first packet is received. This saves time on positive tests, and the synchronous API allows it to compose well with infamy.parallel().