Github user tiborm commented on the issue:
https://github.com/apache/metron/pull/1226
You are right @mmiklavc, this is an additional step to our build process.
So it makes our build slightly slower. However, the two minutes come from the
nature of PCAP. It has a built-in 10-second delay every time we check the job
status. What makes these particular tests slower. With mocking out the time I
was able to speed them up by 50%. I think it's also a good practice for the
upcoming tests to keep them fast with this trick.
---