tests: explicitly wait for the PG to finish before looking for capture file 70/22670/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 11 Oct 2019 12:34:12 +0000 (12:34 +0000)
committerOle Trøan <otroan@employees.org>
Fri, 11 Oct 2019 13:36:01 +0000 (13:36 +0000)
commit3d36f19a0febaed532bd255a150504f7af8f18c2
tree47d862c74702aff5951346f9f512d53ea817bada
parent7e2cea3d26701ff1d80fda7d8ca907890e3e7baa
tests: explicitly wait for the PG to finish before looking for capture file

Rather than only using time-based method of periodically checking
whether the pcap file appeared, first check that the packet generator
has stopped. To make this change fail-safe, have a 5-minute timeout
on this activity, just in case the things go terribly wrong.

Type: test
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Change-Id: Id16b2802b2de8a4cafb5d9f0a8c9ba62ec89dc32
test/vpp_pg_interface.py