diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-10-11 12:34:12 +0000 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-10-11 13:36:01 +0000 |
commit | 3d36f19a0febaed532bd255a150504f7af8f18c2 (patch) | |
tree | 47d862c74702aff5951346f9f512d53ea817bada /test/test_tcp.py | |
parent | 7e2cea3d26701ff1d80fda7d8ca907890e3e7baa (diff) |
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
Diffstat (limited to 'test/test_tcp.py')
0 files changed, 0 insertions, 0 deletions